From ea33b8ff654d7c1d379ce97b73c069a9a1a9d13f Mon Sep 17 00:00:00 2001 From: Wheelspawn Date: Sun, 31 May 2026 06:32:28 -0500 Subject: [PATCH] change percentile_assigned to percentage_assigned --- corems/mass_spectrum/calc/Calibration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corems/mass_spectrum/calc/Calibration.py b/corems/mass_spectrum/calc/Calibration.py index ea9203622..0bb9961a6 100644 --- a/corems/mass_spectrum/calc/Calibration.py +++ b/corems/mass_spectrum/calc/Calibration.py @@ -65,7 +65,7 @@ def __init__(self, mass_spectrum, ref_masslist, mzsegment=None): # define reference mass list - bruker .ref format self.ref_mass_list_path = ref_masslist - if self.mass_spectrum.percentile_assigned(mute_output=True)[0] != 0: + if self.mass_spectrum.percentage_assigned(mute_output=True)[0] != 0: warnings.warn( "Warning: calibrating spectra which have already been assigned may yield erroneous results" )