JAL-2422 a fix and a fudge for two failing ChimeraX commands
[jalview.git] / src / jalview / gui / JalviewChimeraXBindingModel.java
index 5b7a928..aecad00 100644 (file)
@@ -11,7 +11,6 @@ import jalview.ext.rbvi.chimera.ChimeraXCommands;
 import jalview.gui.StructureViewer.ViewerType;
 import jalview.io.DataSourceType;
 import jalview.structure.AtomSpec;
-import jalview.structure.StructureCommand;
 import jalview.structure.StructureSelectionManager;
 
 public class JalviewChimeraXBindingModel extends JalviewChimeraBindingModel
@@ -42,7 +41,8 @@ public class JalviewChimeraXBindingModel extends JalviewChimeraBindingModel
     int modelNumber = chimeraMaps.size() + 1;
     String command = "setattr #" + modelNumber + " models name "
             + pe.getId();
-    executeCommand(new StructureCommand(command), false);
+    // FIXME reinstate this for ChimeraX 1.2, see https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/4211#comment:2
+ //   executeCommand(new StructureCommand(command), false);
     modelsToMap.add(new ChimeraModel(pe.getId(), ModelType.PDB_MODEL,
             modelNumber, 0));
   }
@@ -93,6 +93,7 @@ public class JalviewChimeraXBindingModel extends JalviewChimeraBindingModel
    * @param atomSpec
    * @return
    */
+  @Override
   protected AtomSpec parseAtomSpec(String atomSpec)
   {
     return AtomSpec.fromChimeraXAtomspec(atomSpec);