JAL-3672 debug=false means no debug output
authorJim Procter <jprocter@issues.jalview.org>
Fri, 26 Jun 2020 16:17:38 +0000 (17:17 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Fri, 26 Jun 2020 16:17:38 +0000 (17:17 +0100)
src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java

index ea48cb6..375fa4a 100644 (file)
@@ -814,7 +814,9 @@ public class ChimeraManager
    */
   public List<String> sendChimeraCommand(String command, boolean reply)
   {
-    System.out.println("chimeradebug>> " + command);
+    if (debug) {
+      System.out.println("chimeradebug>> " + command);
+    }
     if (!isChimeraLaunched() || command == null
             || "".equals(command.trim()))
     {