We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 074cb9c commit e3c39ebCopy full SHA for e3c39eb
im2deep/calibration.py
@@ -136,11 +136,11 @@ def fit(
136
or self.charge_shifts[charge] == 0.0
137
):
138
no_shift_calculated.append(charge)
139
+ self.charge_shifts[charge] = float(self.general_shift)
140
LOGGER.debug(
141
f"No shift factor calculated for charge states: {no_shift_calculated}. "
142
f"Using general shift: {self.general_shift:.3f}."
143
)
- self.charge_shifts[charge] = float(self.general_shift)
144
else:
145
# For global calibration, calculate a single shift
146
try:
0 commit comments