From 4c322b81c27579902a978b5874cd9567a315fc76 Mon Sep 17 00:00:00 2001 From: rcooke Date: Fri, 16 Aug 2024 13:44:06 +0100 Subject: [PATCH] update extensions --- pypeit/spectrographs/gemini_gmos.py | 2 ++ pypeit/spectrographs/gemini_gnirs.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pypeit/spectrographs/gemini_gmos.py b/pypeit/spectrographs/gemini_gmos.py index e00506920e..c9ecd8d993 100644 --- a/pypeit/spectrographs/gemini_gmos.py +++ b/pypeit/spectrographs/gemini_gmos.py @@ -108,6 +108,7 @@ class GeminiGMOSSpectrograph(spectrograph.Spectrograph): """ ndet = 3 url = 'http://www.gemini.edu/instrumentation/gmos' + allowed_extensions = ['.fits', '.fits.bz2'] def __init__(self): super().__init__() @@ -1045,6 +1046,7 @@ class GeminiGMOSNSpectrograph(GeminiGMOSSpectrograph): telescope = telescopes.GeminiNTelescopePar() camera = 'GMOS-N' header_name = 'GMOS-N' + allowed_extensions = ['.fits', '.fits.bz2'] class GeminiGMOSNHamSpectrograph(GeminiGMOSNSpectrograph): diff --git a/pypeit/spectrographs/gemini_gnirs.py b/pypeit/spectrographs/gemini_gnirs.py index 989b58a677..52e346661b 100644 --- a/pypeit/spectrographs/gemini_gnirs.py +++ b/pypeit/spectrographs/gemini_gnirs.py @@ -24,6 +24,7 @@ class GeminiGNIRSSpectrograph(spectrograph.Spectrograph): url = 'https://www.gemini.edu/instrumentation/gnirs' header_name = 'GNIRS' telescope = telescopes.GeminiNTelescopePar() + allowed_extensions = ['.fits', '.fits.bz2'] def __init__(self): super().__init__() @@ -587,7 +588,6 @@ class GNIRSIFUSpectrograph(GeminiGNIRSSpectrograph): # * Need to store a wavelength solution for different grating options (Note, the Holy Grail algorithm works pretty well, most of the time) name = 'gemini_gnirs_ifu' pypeline = 'SlicerIFU' - allowed_extensions = ['.fits', '.fits.bz2'] def init_meta(self): super().init_meta()