JAL-2694 StructureSelectionManager.getMapping takes a list of Chain IDs per sequence...
[jalview.git] / src / MCview / PDBCanvas.java
index b2f2503..1914b4a 100644 (file)
@@ -153,7 +153,9 @@ public class PDBCanvas extends JPanel
 
     try
     {
-      pdb = ssm.setMapping(seq, chains, pdbentry.getFile(), protocol);
+      pdb = ssm.setMapping(seq,
+              StructureSelectionManager.perChainList(chains),
+              pdbentry.getFile(), protocol);
 
       if (protocol.equals(jalview.io.DataSourceType.PASTE))
       {