validated = true;
}
}
if (!validated) {
PeptideFilter peptideFilter;
if (!filterPreferences.getPeptideStarFilters().containsKey(MatchFilter.MANUAL_SELECTION)) {
peptideFilter = new PeptideFilter(MatchFilter.MANUAL_SELECTION);
peptideFilter.setDescription("Manual selection via the graphical interface");
filterPreferences.getPeptideStarFilters().put(peptideFilter.getName(), peptideFilter);
} else {
peptideFilter = filterPreferences.getPeptideStarFilters().get(MatchFilter.MANUAL_SELECTION);
}
peptideFilter.addManualValidation(match);
}
psParameter.setStarred(true);
identification.updatePeptideMatchParameter(match, psParameter);
peptideShakerGUI.setDataSaved(false);