From: James Procter Date: Fri, 7 Jul 2023 13:18:44 +0000 (+0100) Subject: JAL-629 even more console debug for --structureviewer opening arguments X-Git-Tag: Release_2_11_3_0~12^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=59e9fd112bcb8cb4c5cfd344562e7edfc3ea8359;p=jalview.git JAL-629 even more console debug for --structureviewer opening arguments --- diff --git a/src/jalview/bin/Commands.java b/src/jalview/bin/Commands.java index 84effe0..d83afed 100644 --- a/src/jalview/bin/Commands.java +++ b/src/jalview/bin/Commands.java @@ -576,9 +576,9 @@ public class Commands } try { + while (sv.isBusy()) { - while (sv.isBusy()) - Thread.sleep(25); + Thread.sleep(25); if (sv.isBusy()) { Console.debug( @@ -587,7 +587,7 @@ public class Commands } } catch (Exception x) { - + Console.warn("Exception whilst waiting for structure viewer "+structureFilepath,x); } Console.debug("Successfully opened viewer for "+structureFilepath); String structureImageFilename = ArgParser.getValueFromSubValOrArg(