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

Commit

Permalink
[FIXME] harcoded instrument iris
Browse files Browse the repository at this point in the history
  • Loading branch information
zonca committed Aug 11, 2019
1 parent 305e720 commit 9b55054
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crds/tmt/locate.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ def locate_file(refname, mode=None):
if mode is None:
mode = config.get_crds_ref_subdir_mode(observatory="tmt")
if mode == "instrument":
instrument = utils.file_to_instrument(refname)
instrument = "iris" #FIXME, temporarily hardcode instrument
#instrument = utils.file_to_instrument(refname)
rootdir = locate_dir(instrument, mode)
elif mode == "flat":
rootdir = config.get_crds_refpath("tmt")
Expand Down

0 comments on commit 9b55054

Please sign in to comment.