Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HotFix: VLT/FORS2 #1707

Merged
merged 4 commits into from
Oct 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pypeit/spectrographs/vlt_fors.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,14 @@ def compound_meta(self, headarr, meta_key):
return binning
elif meta_key == 'decker':
mode = headarr[0]['HIERARCH ESO INS MODE']
if mode == 'LSS':
if mode in ['LSS', 'MOS']:
try: # Science
return headarr[0]['HIERARCH ESO INS SLIT NAME']
except KeyError: # Standard!
try:
return headarr[0]['HIERARCH ESO SEQ SPEC TARG']
except KeyError:
return None
elif mode == 'MOS':
return headarr[0]['HIERARCH ESO INS MOS CHECKSUM']
return headarr[0]['HIERARCH ESO INS MOS CHECKSUM']
elif mode == 'IMG':
# This is for the bias frames
return None
Expand Down Expand Up @@ -362,7 +360,7 @@ def config_independent_frames(self):
keywords that can be used to assign the frames to a configuration
group.
"""
return {'bias': 'detector', 'dark': 'detector', 'standard':['detector', 'dispangle', 'dispname']}
return {'bias': 'detector', 'dark': 'detector'}

def configuration_keys(self):
"""
Expand Down