From 4a67afac64ed574a5b79c7d33c97e58e26f60f30 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Wed, 20 May 2020 08:51:38 +0100 Subject: [PATCH] JAL-3626 use Viewer.scriptWait() to send Jmol commands (Bob Hanson) --- src/jalview/ext/jmol/JalviewJmolBinding.java | 7 +++++-- src/jalview/gui/AppJmol.java | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index 54eb599..038ca48 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -115,7 +115,7 @@ public abstract class JalviewJmolBinding extends AAStructureBindingModel private String jmolScript(String script) { Cache.log.debug(">>Jmol>> " + script); - String s = jmolViewer.evalStringQuiet(script); + String s = jmolViewer.scriptWait(script); Cache.log.debug("<