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 inJAL-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);
}
}
[~gmungoc] suggests a quick patch for this in
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
- blocks
-
JAL-3127 Shade mapped structures or alignment by Sequence's ID colour
- Closed