Skip to content

Commit

Permalink
cast to str
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Aug 31, 2021
1 parent 61a9659 commit d86c2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyreduce/wavelength_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def on_click(self, event):
class LineAtlas:
def __init__(self, element):
self.element = element
fname = element.lower() + ".fits"
fname = str(element).lower() + ".fits"
folder = dirname(__file__)
self.fname = join(folder, "wavecal", "atlas", fname)
self.wave, self.data = self.load_fits(self.fname)
Expand Down

0 comments on commit d86c2ee

Please sign in to comment.