JAL-2463 bugfix
authortcofoegbu <tcnofoegbu@dundee.ac.uk>
Thu, 23 Mar 2017 12:02:33 +0000 (12:02 +0000)
committertcofoegbu <tcnofoegbu@dundee.ac.uk>
Thu, 23 Mar 2017 12:02:33 +0000 (12:02 +0000)
src/jalview/ext/jmol/JmolCommands.java

index a809cae..75b702a 100644 (file)
@@ -113,8 +113,7 @@ public class JmolCommands
                 col = Color.GRAY;
               }
 
-              String newSelcom = (mapping[m].getChain() != " " ? ":"
-                      + mapping[m].getChain() : "")
+              String newSelcom = ":" + mapping[m].getChain()
                       + "/"
                       + (pdbfnum + 1)
                       + ".1"