Skip to content

Commit

Permalink
try to untangle source catalog vs source detection
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Nov 19, 2024
1 parent 34110c7 commit b12c774
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions romancal/pipeline/exposure_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def process(self, input):
log.info("Tweakreg step is being SKIPPED")
result.meta.cal_step.flat_field = "SKIPPED"
result.meta.cal_step.photom = "SKIPPED"

Check warning on line 114 in romancal/pipeline/exposure_pipeline.py

View check run for this annotation

Codecov / codecov/patch

romancal/pipeline/exposure_pipeline.py#L109-L114

Added lines #L109 - L114 were not covered by tests
result.meta.cal_step.source_catalog = "SKIPPED"
# FIXME source_catalog ain't in the schema
# result.meta.cal_step.source_catalog = "SKIPPED"

lib.shelve(result, model_index)

Check warning on line 118 in romancal/pipeline/exposure_pipeline.py

View check run for this annotation

Codecov / codecov/patch

romancal/pipeline/exposure_pipeline.py#L118

Added line #L118 was not covered by tests

Expand Down Expand Up @@ -149,7 +150,8 @@ def create_fully_saturated_zeroed_image(self, input_model):
"assign_wcs",
"flat_field",
"photom",
"source_catalog",
# FIXME source_catalog ain't in the schema
# "source_catalog",
]:
fully_saturated_model.meta.cal_step[step_str] = "SKIPPED"

Expand Down

0 comments on commit b12c774

Please sign in to comment.