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
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));
}
* @param atomSpec
* @return
*/
+ @Override
protected AtomSpec parseAtomSpec(String atomSpec)
{
return AtomSpec.fromChimeraXAtomspec(atomSpec);