if (!headless)
{
desktop = new Desktop();
+ desktop.setInBatchMode(true); // indicate we are starting up
desktop.setVisible(true);
desktop.startServiceDiscovery();
if (!aparser.contains("nousagestats"))
ex.printStackTrace(System.err);
}
}
- // todo - load PDB structure to alignment
+ // TODO - load PDB structure(s) to alignment JAL-629
// (associate with identical sequence in alignment, or a specified
// sequence)
startFeatureFetching(getFeatures);
}
}
- // execute a groovy script.
+ // Once all other stuff is done, execute any groovy scripts (in order)
if (groovyscript != null)
{
if (jalview.bin.Cache.groovyJarsPresent())
+ groovyscript);
}
}
-
- // Once all other stuff is done, execute any groovy scripts (in order)
+ // and finally, turn off batch mode indicator - if the desktop still exists
+ if (desktop!=null)
+ {
+ desktop.setInBatchMode(false);
+ }
}
private static void startUsageStats(final Desktop desktop)