From 59e9fd112bcb8cb4c5cfd344562e7edfc3ea8359 Mon Sep 17 00:00:00 2001 From: James Procter Date: Fri, 7 Jul 2023 14:18:44 +0100 Subject: [PATCH] JAL-629 even more console debug for --structureviewer opening arguments --- src/jalview/bin/Commands.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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( -- 1.7.10.2