Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
steinnymir committed Oct 25, 2023
1 parent 68bf2b4 commit 6fc47ac
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 @@ -1539,7 +1539,8 @@ def apply_energy_offset(
raise ValueError(
"Cannot apply binding energy offset to columns with unknown sign.",
)
signs = [-s for s in signs]
else:
signs = [-1 * s for s in signs if s is not None]
elif energy_scale == "kinetic":
pass
elif energy_scale is None:
Expand Down

0 comments on commit 6fc47ac

Please sign in to comment.