Skip to content

Commit

Permalink
Added "Angstroms" as potential wavelength unit (STIS format).
Browse files Browse the repository at this point in the history
  • Loading branch information
ntejos committed Feb 1, 2017
1 parent 72e5dc1 commit d9be0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linetools/spectra/io.py
Expand Up @@ -309,7 +309,7 @@ def get_wave_unit(tag, hdulist, idx=None):
except KeyError:
return None
else:
if tunit == 'Angstroem':
if tunit in ['Angstroem', 'Angstroms']:
tunit = 'Angstrom'
unit = Unit(tunit)
return unit
Expand Down

0 comments on commit d9be0a0

Please sign in to comment.