Skip to content

Commit

Permalink
Removed an absorption=True that left in the code by mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
Olesja Smirnova committed Jan 26, 2023
1 parent 9e0d57c commit 5b94794
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geminidr/interactive/fit/wavecal.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,7 @@ def identify_line(self, key, x, y, peak=None):
else:
# TODO: Check this behaves sensibly, and doesn't find
# all tiny bumps
absorption=True
if absorption:
if self.absorption:
pinpoint_data = cwt_ricker(-self.spectrum.data["spectrum"],
[0.42466 * fwidth])[0]
else:
Expand Down

0 comments on commit 5b94794

Please sign in to comment.