Skip to content

Commit 6e56f1e

Browse files
fix jwst observatory in jwst locate
1 parent 257aa50 commit 6e56f1e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crds/jwst/locate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def locate_file(refname, mode=None, parameters=None):
493493
log.verbose('Attempt to contact server for meta information', verbosity=80)
494494

495495
# If there is a server, get the instrument from there.
496-
instrument = api.get_file_info(api.get_default_context(observatory='roman'), os.path.basename(refname))['instrument']
496+
instrument = api.get_file_info(api.get_default_context(observatory='jwst'), os.path.basename(refname))['instrument']
497497

498498
rootdir = locate_dir(instrument, mode)
499499

0 commit comments

Comments
 (0)