Skip to content

Commit

Permalink
file suffixes updated in calwebb_ami3
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooper295 committed Dec 8, 2023
1 parent 8a20fbb commit 852c5c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jwst/pipeline/calwebb_ami3.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def process(self, input):
# Save the averaged LG analysis results to a file
result1.meta.asn.pool_name = asn['asn_pool']
result1.meta.asn.table_name = op.basename(asn.filename)
self.save_model(result1, output_file=input_file, suffix='ami', asn_id=asn_id)
self.save_model(result1, output_file=input_file, suffix='ami-oi', asn_id=asn_id)

Check warning on line 84 in jwst/pipeline/calwebb_ami3.py

View check run for this annotation

Codecov / codecov/patch

jwst/pipeline/calwebb_ami3.py#L82-L84

Added lines #L82 - L84 were not covered by tests

# Save the result for use as input to ami_average
targ_lg.append(result1)

Check warning on line 87 in jwst/pipeline/calwebb_ami3.py

View check run for this annotation

Codecov / codecov/patch

jwst/pipeline/calwebb_ami3.py#L87

Added line #L87 was not covered by tests
Expand All @@ -97,7 +97,7 @@ def process(self, input):
# Save the LG analysis results to a file
result1.meta.asn.pool_name = asn['asn_pool']
result1.meta.asn.table_name = op.basename(asn.filename)
self.save_model(result1, output_file=input_file, suffix='ami', asn_id=asn_id)
self.save_model(result1, output_file=input_file, suffix='psf-ami-oi', asn_id=asn_id)

Check warning on line 100 in jwst/pipeline/calwebb_ami3.py

View check run for this annotation

Codecov / codecov/patch

jwst/pipeline/calwebb_ami3.py#L98-L100

Added lines #L98 - L100 were not covered by tests

# Save the result for use as input to ami_average
psf_lg.append(result1)

Check warning on line 103 in jwst/pipeline/calwebb_ami3.py

View check run for this annotation

Codecov / codecov/patch

jwst/pipeline/calwebb_ami3.py#L103

Added line #L103 was not covered by tests
Expand All @@ -114,7 +114,7 @@ def process(self, input):
# Perform blending of metadata for all inputs to this output file
# self.log.info('Blending metadata for PSF normalized target')
# blendmeta.blendmodels(result, inputs=[targ, psf])
self.save_model(result, suffix='aminorm')
self.save_model(result, suffix='aminorm-oi')
result.close()
del psf_lg
del targ_lg

Check warning on line 120 in jwst/pipeline/calwebb_ami3.py

View check run for this annotation

Codecov / codecov/patch

jwst/pipeline/calwebb_ami3.py#L117-L120

Added lines #L117 - L120 were not covered by tests
Expand Down

0 comments on commit 852c5c0

Please sign in to comment.