Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2324

SequenceFeature.equals() fails if score is Float.NaN

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.10.0b1
    • Fix Version/s: 2.10.1
    • Component/s: jvdesktop, jvlite
    • Labels:
      None

      Description

      Identical SequenceFeature objects fail the equals() test, because
      o1.score == o2.score
      fails if both are Float.NaN.
      This results in creating duplicate sequence features in Sequence.addSequenceFeature().

        Attachments

          Activity

            People

            Assignee:
            gmungoc Mungo Carstairs
            Reporter:
            gmungoc Mungo Carstairs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: