From 81185d3e4c3897e59411bca01808c8f86bb4044e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 26 Jun 2020 17:17:38 +0100 Subject: [PATCH] JAL-3672 debug=false means no debug output --- src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java b/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java index ea48cb6..375fa4a 100644 --- a/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java +++ b/src/ext/edu/ucsf/rbvi/strucviz2/ChimeraManager.java @@ -814,7 +814,9 @@ public class ChimeraManager */ public List sendChimeraCommand(String command, boolean reply) { - System.out.println("chimeradebug>> " + command); + if (debug) { + System.out.println("chimeradebug>> " + command); + } if (!isChimeraLaunched() || command == null || "".equals(command.trim())) { -- 1.7.10.2