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

AlignmentView.getVisibleContigs() out by 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.10.1
    • Fix Version/s: 2.10.2
    • Component/s: analysis
    • Labels:
      None

      Description

      AlignmentView.getVisibleContigs():
      - returns the ranges of visible (not hidden) columns
      - according to its javadoc, this should return [start, end] positions - inclusive
      - in fact it returns [start1, end1, start2, end2, ..., startN, width] where the last (or only) range is [inclusive, exclusive], and other ranges are [inclusive, inclusive]
      In the simple case (no hidden columns), the end position is 1 too large.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: