From: gmungoc Date: Thu, 26 May 2016 14:55:19 +0000 (+0100) Subject: JAL-2035 relocated a comment X-Git-Tag: Release_2_10_0~214^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cf91582565215c6d51b902a343300ba95aab1cd3;p=jalview.git JAL-2035 relocated a comment --- diff --git a/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java b/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java index 4201f43..c0c7c46 100644 --- a/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java +++ b/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java @@ -199,8 +199,9 @@ public class ChimeraManager return null; } - List newModelList = getModelList(); - for (ChimeraModel newModel : newModelList) + // patch for Jalview - set model name in Chimera + // TODO: find a variant that works for sub-models + for (ChimeraModel newModel : getModelList()) { if (!modelList.contains(newModel)) { @@ -209,15 +210,12 @@ public class ChimeraManager "setattr M name " + modelName + " #" + newModel.getModelNumber(), false); modelList.add(newModel); - } } // assign color and residues to open models for (ChimeraModel chimeraModel : modelList) { - // // patch for Jalview - set model name in Chimera - // // TODO: find a variant that works for sub-models // get model color Color modelColor = getModelColor(chimeraModel); if (modelColor != null) @@ -731,7 +729,7 @@ public class ChimeraManager */ public List sendChimeraCommand(String command, boolean reply) { - // System.out.println("chimeradebug>> " + command); + // System.out.println("chimeradebug>> " + command); if (!isChimeraLaunched() || command == null || "".equals(command.trim())) {