From d255e4d4b9f00f56f282a9cbfc025c81f3b138fa Mon Sep 17 00:00:00 2001 From: chris-simpson Date: Tue, 5 Dec 2023 09:56:54 -1000 Subject: [PATCH] determineWavelengthSolution(): correctly return adoutputs, not adinputs --- geminidr/gnirs/primitives_gnirs_spect.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/geminidr/gnirs/primitives_gnirs_spect.py b/geminidr/gnirs/primitives_gnirs_spect.py index b9b47365b..c0153989a 100644 --- a/geminidr/gnirs/primitives_gnirs_spect.py +++ b/geminidr/gnirs/primitives_gnirs_spect.py @@ -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): """