diff --git a/lx/spectraContainer.py b/lx/spectraContainer.py index c115d968a59ec9d30c2f48171f4ace1315b5b171..9947d1c66d2692a1bdc62c63722dbef1d8cd1f27 100644 --- a/lx/spectraContainer.py +++ b/lx/spectraContainer.py @@ -1042,7 +1042,7 @@ MStolerance to an arbitrary value""" # if the threshold is given as a relative value make absolute value if threshold_type == 'relative': - t[sample] = threshold * dictBasePeakIntensity[sample] + t[sample] = threshold * dictBasePeakIntensity[sample] if dictBasePeakIntensity[sample] is not None else 0 # if its none there where no peaks else: t[sample] = threshold