annotationPreferences.isHighResolutionAnnotation());
spectrumPanel.setAnnotations(SpectrumAnnotator.getSpectrumAnnotation(annotations));
spectrumPanel.rescale(lowerMzZoomRange, upperMzZoomRange);
if (!currentSpectrumKey.equalsIgnoreCase(spectrumKey)) {
if (annotationPreferences.useAutomaticAnnotation()) {
annotationPreferences.setNeutralLossesSequenceDependant(true);
}
}
peptideShakerGUI.updateAnnotationMenus(identificationCharge, currentPeptide.getModificationMatches());