this.main = main;
}
public void run()
{
FetchFromGEODialog dialog = new FetchFromGEODialog(main);
dialog.open();
String filename = null;
if(dialog.isFetchPressed())
{
// if .ced file is not present, generate it using series matrix
// and platform files
if(!dialog.isCedPresent())
{
main.lockWithMessage("Generating experiment data ...");
ExperimentDataAutomaticConvertionWizard edacw = new ExperimentDataAutomaticConvertionWizard(
new ArrayList<String>(XRef.getDBSet()),
dialog.getSeriesMatrixFile(),
dialog.getPlatformFile(),
dialog.getSelectedSeries());
edacw.run();
filename = edacw.getResultFileName();
main.unlock();
}
// if .ced file is already present, directly load it.
else if(dialog.isCedPresent())
{
filename = dialog.getCedFile().getPath();
}
}
if (filename != null)
{