diff --git a/goodman_pipeline/core/core.py b/goodman_pipeline/core/core.py index d99c5159..bde02ea0 100644 --- a/goodman_pipeline/core/core.py +++ b/goodman_pipeline/core/core.py @@ -3781,7 +3781,7 @@ def get_reference_lamp(self, header): (self.ref_lamp_collection['lamp_ar'] == header['LAMP_AR']) & (self.ref_lamp_collection['lamp_fe'] == header['LAMP_FE']) & (self.ref_lamp_collection['lamp_cu'] == header['LAMP_CU']) & - (self.ref_lamp_collection['wavmode'] == header['wavmode']))] + (self.ref_lamp_collection['wavmode'] == header['WAVMODE']))] if filtered_collection.empty: error_message = "Unable to find a match for: "\ "LAMP_HGA = {}, "\