this.setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")));
EnzymeSelectionDialog enzymeSelectionDialog = new EnzymeSelectionDialog(this, true, enzymesAsText, true);
Enzyme selectedEnzyme = enzymeSelectionDialog.getEnzyme();
if (selectedEnzyme != null) {
prideParametersReport += selectedEnzyme.getName() + "<br>";
<BUG>prideSearchParameters.setEnzyme(selectedEnzyme);
} else {
prideSearchParameters.setEnzyme(null);
prideParametersReport += enzymesAsText + " (unknown)<br>";</BUG>
}

this.setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")));
EnzymeSelectionDialog enzymeSelectionDialog = new EnzymeSelectionDialog(this, true, enzymesAsText, true);
Enzyme selectedEnzyme = enzymeSelectionDialog.getEnzyme();
if (selectedEnzyme != null) {
prideParametersReport += selectedEnzyme.getName() + "<br>";
prideDigestionPreferences.clearEnzymes();
prideDigestionPreferences.addEnzyme(selectedEnzyme);
} else {
prideDigestionPreferences.clearEnzymes();
prideParametersReport += enzymesAsText + " (unknown)<br>";
}
