From: gmungoc Date: Thu, 18 Feb 2021 11:43:03 +0000 (+0000) Subject: JAL-2422 remove temporary patch (requires ChimeraX Daily or 1.2 build) X-Git-Tag: Release_2_11_2_0~73 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8dd79388b9e613f19da1da19abf97c952d8f6076;p=jalview.git JAL-2422 remove temporary patch (requires ChimeraX Daily or 1.2 build) --- diff --git a/src/jalview/gui/JalviewChimeraXBindingModel.java b/src/jalview/gui/JalviewChimeraXBindingModel.java index aecad00..cfd44c7 100644 --- a/src/jalview/gui/JalviewChimeraXBindingModel.java +++ b/src/jalview/gui/JalviewChimeraXBindingModel.java @@ -11,6 +11,7 @@ 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 @@ -41,8 +42,7 @@ public class JalviewChimeraXBindingModel extends JalviewChimeraBindingModel int modelNumber = chimeraMaps.size() + 1; String command = "setattr #" + modelNumber + " models name " + pe.getId(); - // FIXME reinstate this for ChimeraX 1.2, see https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/4211#comment:2 - // executeCommand(new StructureCommand(command), false); + executeCommand(new StructureCommand(command), false); modelsToMap.add(new ChimeraModel(pe.getId(), ModelType.PDB_MODEL, modelNumber, 0)); }