Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
steinnymir committed Oct 25, 2023
1 parent 09b2dad commit 68bf2b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sed/calibrator/energy.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,8 @@ def append_energy_axis(
binwidth = kwds.pop("binwidth", self.binwidth)
binning = kwds.pop("binning", self.binning)

calibration = self.get_current_calibration()
if calibration is None:
calibration = self.get_current_calibration()

for key, value in kwds.items():
calibration[key] = value
Expand Down

0 comments on commit 68bf2b4

Please sign in to comment.