Fix for wavelengths

After wavenumbers were computed if conversion to wavelengths was requested None was returned
This commit is contained in:
t2 2019-09-05 11:07:55 +02:00
parent df5c567482
commit dfb068fee1
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class OpusData(dict):
if wavenums:
return x_no_unit
else:
10_000_000 / x_no_unit
return 10_000_000 / x_no_unit
def interpolate(self, start, stop, num, spec_name="AB"):
xav = self.get_range(spec_name=spec_name)