SearchParameters searchParameters = getIdentificationParameters().getSearchParameters();
if (searchParameters == null) {
setDefaultPreferences();
searchParameters = getIdentificationParameters().getSearchParameters();
}
<BUG>if (searchParameters.getEnzyme() == null) {
searchParameters.setEnzyme(EnzymeFactory.getInstance().getEnzyme("Trypsin"));
}</BUG>
new SearchSettingsDialog(this, searchParameters,
Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")),

SearchParameters searchParameters = getIdentificationParameters().getSearchParameters();
if (searchParameters == null) {
setDefaultPreferences();
searchParameters = getIdentificationParameters().getSearchParameters();
}
new SearchSettingsDialog(this, searchParameters,
Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")),
