SearchGUI writes temp files and configurations in sub directories of :
public String getJarFilePath() {
return CompomicsWrapper.getJarFilePath(this.getClass().getResource("SearchGUI.class").getPath(), "SearchGUI");
}
https://github.com/compomics/searchgui/blob/master/src/main/java/eu/isas/searchgui/cmd/SearchCLI.java#L359
It poses a few problems:
- To run from a container, we need to copy the files to an external directory (since files within containers are read only )
- Multiple runs of SearchGUI can't share the same jars, because they will overwrite each others configs.
It would be nice to be able to override both ./resources/conf ./resources/temp directories, for example with an environement variables