Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 9b55054

Browse files
committed
[FIXME] harcoded instrument iris
1 parent 305e720 commit 9b55054

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crds/tmt/locate.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,8 @@ def locate_file(refname, mode=None):
440440
if mode is None:
441441
mode = config.get_crds_ref_subdir_mode(observatory="tmt")
442442
if mode == "instrument":
443-
instrument = utils.file_to_instrument(refname)
443+
instrument = "iris" #FIXME, temporarily hardcode instrument
444+
#instrument = utils.file_to_instrument(refname)
444445
rootdir = locate_dir(instrument, mode)
445446
elif mode == "flat":
446447
rootdir = config.get_crds_refpath("tmt")

0 commit comments

Comments
 (0)