ParamDatastoreI store = new HMMERParamStore("hmmalign");
WsJobParameters params = new WsJobParameters(new JFrame(), store, set,
args);
- params.showRunDialog();
- new Thread(new HMMBuildThread(this, params.getJobParams())).start();
+ if (params.showRunDialog())
+ {
+ new Thread(new HMMBuildThread(this, params.getJobParams())).start();
+ }
alignPanel.repaint();
}
ParamDatastoreI store = new HMMERParamStore("hmmalign");
WsJobParameters params = new WsJobParameters(new JFrame(), store, set,
args);
- params.showRunDialog();
- new Thread(new HMMAlignThread(this, true, params.getJobParams()))
+ if (params.showRunDialog())
+ {
+ new Thread(new HMMAlignThread(this, true, params.getJobParams()))
.start();
+ }
alignPanel.repaint();
}
ParamDatastoreI store = new HMMERParamStore("hmmsearch");
WsJobParameters params = new WsJobParameters(new JFrame(), store, set,
args);
- params.showRunDialog();
- new Thread(new HMMSearchThread(this, true, params.getJobParams()))
+ if (params.showRunDialog())
+ {
+ new Thread(new HMMSearchThread(this, true, params.getJobParams()))
.start();
+ }
alignPanel.repaint();
}