Skip to content

Commit

Permalink
RCAL-707 Update elp to capture list returned by tweakreg
Browse files Browse the repository at this point in the history
  • Loading branch information
ddavis-stsci committed Nov 9, 2023
1 parent b4952b7 commit 2f11b1b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ dark
general
-------

- Update elp pipeline code to capture a list from tweakreg [#]

- Update pipeline code to correct cal_step and suffixes [#971]

- Update pipeline code to run through tweakreg with single files and associations [#960]
Expand Down
3 changes: 1 addition & 2 deletions romancal/pipeline/exposure_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ def process(self, input):
if result.meta.exposure.type == "WFI_IMAGE":
if file_type == "asdf":
result.meta.cal_step.tweakreg = "SKIPPED"
# mc_result = ModelContainer(result)
mc_result = self.tweakreg([result])
mc_result = ModelContainer(result)
if hasattr(ModelContainer(result), "_models") and mc_result._models:
result = mc_result._models.pop()
else:
Expand Down

0 comments on commit 2f11b1b

Please sign in to comment.