X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fext%2Frbvi%2Fchimera%2FJalviewChimeraBinding.java;h=c78a82b0f71fce6cda006d19e466a913d8937af0;hb=cb8e52fbbc5f725e3f7f48c672cdddb0690bd978;hp=d2c991f6ec51796b64b48a968c0ace50a30a93b4;hpb=a1984b1c8c273ed33c7ce9283039f4027dcae2de;p=jalview.git diff --git a/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java b/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java index d2c991f..c78a82b 100644 --- a/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java +++ b/src/jalview/ext/rbvi/chimera/JalviewChimeraBinding.java @@ -36,7 +36,7 @@ import ext.edu.ucsf.rbvi.strucviz2.ChimeraModel; import ext.edu.ucsf.rbvi.strucviz2.StructureManager; import ext.edu.ucsf.rbvi.strucviz2.StructureManager.ModelType; import jalview.api.AlignmentViewPanel; -import jalview.bin.Cache; +import jalview.bin.Console; import jalview.datamodel.PDBEntry; import jalview.datamodel.SearchResultMatchI; import jalview.datamodel.SearchResultsI; @@ -337,16 +337,16 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel if (getResponse) { reply = lastReply; - if (Cache.isDebugEnabled()) { - Cache.debug( + if (Console.isDebugEnabled()) { + Console.debug( "Response from command ('" + cmd + "') was:\n" + lastReply); } } else { - if (Cache.isDebugEnabled()) + if (Console.isDebugEnabled()) { - Cache.debug("Command executed: " + cmd); + Console.debug("Command executed: " + cmd); } } @@ -527,7 +527,7 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel atomSpecs.add(spec); } catch (IllegalArgumentException e) { - Cache.error("Failed to parse atomspec: " + atomSpec); + Console.error("Failed to parse atomspec: " + atomSpec); } } return atomSpecs; @@ -679,7 +679,7 @@ public abstract class JalviewChimeraBinding extends AAStructureBindingModel spec = parseAtomSpec(atomSpec); } catch (IllegalArgumentException e) { - Cache.error("Problem parsing atomspec " + atomSpec); + Console.error("Problem parsing atomspec " + atomSpec); continue; }