JAL-3518 more pull up / test coverage of structure command generation
[jalview.git] / src / jalview / ext / rbvi / chimera / ChimeraXCommands.java
index 7ece122..5eba203 100644 (file)
@@ -96,7 +96,7 @@ public class ChimeraXCommands extends ChimeraCommands
    * @return
    */
   @Override
-  protected String getSetAttributeCommand(String attributeName,
+  protected String setAttribute(String attributeName,
           String attributeValue, AtomSpecModel atomSpecModel)
   {
     StringBuilder sb = new StringBuilder(128);
@@ -165,8 +165,7 @@ public class ChimeraXCommands extends ChimeraCommands
     for (String chain : atomSpec.getChains(model))
     {
       boolean firstPositionForChain = true;
-      chain = " ".equals(chain) ? chain : chain.trim();
-      sb.append("/").append(chain).append(":");
+      sb.append("/").append(chain.trim()).append(":");
       List<int[]> rangeList = atomSpec.getRanges(model, chain);
 
       /*