waitingHandler.setSecondaryProgressCounter(0);
waitingHandler.setSecondaryProgressCounterIndeterminate(false);
waitingHandler.setMaxSecondaryProgressCounter(2 * spectrumFactory.getNSpectra(fileName));
}
spectrumRecalibrator.estimateErrors(fileName, identification, annotationPreferences, waitingHandler);
}
PSParameter psParameter = new PSParameter();
identification.loadSpectrumMatchParameters(fileName, psParameter, waitingHandler);