- Jalview.main(args);
- try
- {
- // sleep for slow build server to open annotations and viewer windows
- Thread.sleep(seqNum * 50 + annNum * 50 + viewerNum * 500);
- } catch (InterruptedException e)
+ CommandsTest.callJalviewMain(args);
+ while (Desktop.instance!=null && Desktop.instance.operationsAreInProgress())