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

AlignSeq alignment prettyprinter doesn't cope with long sequence IDs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.1
    • Component/s: None
    • Labels:
      None

      Description

      {code}
          int maxid = s1.getName().length();
          if (s2.getName().length() > maxid)
          {
            maxid = s2.getName().length();
          }

          int len = 72 - maxid - 1;
          // TODO: JAL-525 : Fix div by zero possibility when len == 0 - rauses
          int nochunks = ((aseq1.length - count) / len) + 1;
          pid = 0;
      {code}

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: