From: Jim Procter Date: Fri, 26 Jun 2020 16:17:38 +0000 (+0100) Subject: JAL-3672 debug=false means no debug output X-Git-Tag: Develop-2_11_2_0-d20201215~24^2~36^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=81185d3e4c3897e59411bca01808c8f86bb4044e;p=jalview.git JAL-3672 debug=false means no debug output --- 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())) {