Skip to content

Commit

Permalink
use observatory name
Browse files Browse the repository at this point in the history
  • Loading branch information
nden committed Apr 26, 2024
1 parent 333d15c commit 0f65573
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion romancal/stpipe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ def finalize_result(self, model, reference_files_used):
setattr(model.meta.ref_file, ref_name, ref_file)
# getattr(model.meta.ref_file, ref_name).name = ref_file
model.meta.ref_file.crds.sw_version = crds_client.get_svn_version()
model.meta.ref_file.crds.context_used = crds_client.get_context_used('roman')
model.meta.ref_file.crds.context_used = crds_client.get_context_used(
model.crds_observatory
)

# this will only run if 'parent' is none, which happens when an individual
# step is being run or if self is a RomanPipeline and not a RomanStep.
Expand Down

0 comments on commit 0f65573

Please sign in to comment.