if (equalParameters) {
// all parameters are equal, just select one of them
parameterFile = parameterFiles.get(0); // @TODO: can we be more clever in selecting the "right" one?
} else {
FileSelectionDialog fileSelection = new FileSelectionDialog(peptideShakerGUI, parameterFiles, "Select the wanted SearchGUI parameters file.");
if (!fileSelection.isCanceled()) {
parameterFile = fileSelection.getSelectedFile();
}
}
}
loadMgfs(inputFiles, dataFolders);