Skip to content

Commit

Permalink
determineWavelengthSolution(): correctly return adoutputs, not adinputs
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-simpson committed Dec 5, 2023
1 parent 92747a3 commit d255e4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions geminidr/gnirs/primitives_gnirs_spect.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ def determineWavelengthSolution(self, adinputs=None, **params):
self.log.stdinfo('Parameter "min_snr" is set to None. '
f'Using min_snr={these_params["min_snr"]} for {ad.filename}')
adoutputs.extend(super().determineWavelengthSolution([ad], **these_params))
#adinputs = super().determineWavelengthSolution(adinputs, **params)
return adinputs
return adoutputs

def determineDistortion(self, adinputs=None, **params):
"""
Expand Down

0 comments on commit d255e4d

Please sign in to comment.