Closed jmader closed 1 month ago
Simple update made and tested. Is backwards compatible and works with both Masters/ and Calibrations/.
diff --git a/src/instrument.py b/src/instrument.py index 10adf8f..e37a389 100644 --- a/src/instrument.py +++ b/src/instrument.py @@ -1115,11 +1115,12 @@ class Instrument(dep.DEP): if os.path.isfile(f): files.append(f)
associatedFiles = []
if any(sub in rootdir for sub in subDir) or file.startswith('Arc'): associatedFiles.append(os.path.join(rootdir, file))
# Now search for all associated files
@@ -1131,7 +1132,7 @@ class Instrument(dep.DEP): arcSearch = file[start:end]
for afile in associatedFiles:
PypeIt v1.16 has changed the output directories and file names slightly. Some new files exist, too.
pypeit_files/keck_deimos_A/keck_deimos_A/Masters --> Calibrations
pypeit_files/keck_deimos_A/keck_deimos_A/QA/PNGs