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

tests for jalview.datamodel.AnnotatedCollectionI.findAnnotations(SequenceI, String, String)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.2
    • Fix Version/s: 2.10.2, 2.10.3
    • Component/s: None
    • Labels:
      None

      Description

      findAnnotations should behave as documented:

        /**
         * Returns an iterable collection of any annotations that match on given
         * sequence ref, calcId and label (ignoring null values).
         */

      In 2.10.1, null values mean't that annotation rows with null values were ignored. This makes it impossible to search for annotation just by its label - e.g. AlignmentI.findAnnotations(null,null,"Conservation")

      adding test to verify expected behaviour (null implies wildcard or exact match, non-null requires equality)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              jprocter James Procter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: