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

Sequence ID colourscheme is not applied when view restored from project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.11.0, 2.11.1.0, 2.11.1.1
    • Fix Version/s: 2.11.2
    • Component/s: None
    • Labels:

      Description

      The SequenceID colour scheme is not applied to a view when restored from project.

      [~gmungoc] suggests a quick patch for this in JAL-3127 (https://issues.jalview.org/browse/JAL-3127?focusedCommentId=21683&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-21683)

      in Jalview2XML.loadViewport:
          for (SequenceGroup sg : viewport.getAlignment().getGroups())
          {
            ColourSchemeI cs = sg.getColourScheme();
            if (cs != null)
            {
              cs = cs.getInstance(viewport, sg);
              sg.setColourScheme(cs);
            }
          }

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: