git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b3af9
)
JAL-4196 report an error if structure view doesn’t get created (for whatever reason...
author
James Procter
<j.procter@dundee.ac.uk>
Thu, 8 Jun 2023 10:33:35 +0000
(11:33 +0100)
committer
James Procter
<j.procter@dundee.ac.uk>
Thu, 8 Jun 2023 10:33:35 +0000
(11:33 +0100)
src/jalview/bin/Commands.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Commands.java
b/src/jalview/bin/Commands.java
index
bcf231e
..
7f493e0
100644
(file)
--- a/
src/jalview/bin/Commands.java
+++ b/
src/jalview/bin/Commands.java
@@
-569,9
+569,20
@@
public class Commands
structureFilepath, tft, paeFilepath, false,
ssFromStructure, false, viewerType);
- if (headless)
+ if (sv==null)
+ {
+ Console.error("Failed to import and open structure view.");
+ continue;
+ }
+ while (sv.isBusy())
{
- sv.setAsync(false);
+ try {
+ Thread.sleep(25);
+ }
+ catch (Exception x)
+ {
+
+ }
}
String structureImageFilename = ArgParser.getValueFromSubValOrArg(