JAL-2694 StructureSelectionManager.getMapping takes a list of Chain IDs per sequence...
[jalview.git] / src / MCview / AppletPDBCanvas.java
index f94faba..7b03d7c 100644 (file)
@@ -159,7 +159,9 @@ public class AppletPDBCanvas extends Panel
 
     try
     {
-      pdb = ssm.setMapping(seq, chains, pdbentry.getFile(), protocol);
+      pdb = ssm.setMapping(seq,
+              StructureSelectionManager.perChainList(chains),
+              pdbentry.getFile(), protocol);
 
       if (protocol == DataSourceType.PASTE)
       {