diff --git a/romancal/regtest/test_resample.py b/romancal/regtest/test_resample.py index 6e3cf8a60..70c16512b 100644 --- a/romancal/regtest/test_resample.py +++ b/romancal/regtest/test_resample.py @@ -46,9 +46,7 @@ def create_asn_file( return asn_file_path -@metrics_logger( - "DMS342" -) # got DMS342 from here: https://jira.stsci.edu/browse/RSUBREQ-1051 +@metrics_logger("DMS342", "DMS343", "DMS344", "DMS345") @pytest.mark.bigdata def test_resample_single_file(rtdata, ignore_asdf_paths): input_data = [ @@ -88,6 +86,15 @@ def test_resample_single_file(rtdata, ignore_asdf_paths): ) assert hasattr(resample_out.meta, "resample") + step.log.info( + f"""DMS342 MSG: Was ICRS used as the mosaic astrometric reference frame? :\ + { + resample_out.meta.coordinates.reference_frame == "ICRS" + } + """ + ) + assert resample_out.meta.coordinates.reference_frame == "ICRS" + step.log.info( f"""DMS343 MSG: ResampleStep created new attribute data quality information? :\ { diff --git a/romancal/resample/resample.py b/romancal/resample/resample.py index 0260806aa..25206370e 100644 --- a/romancal/resample/resample.py +++ b/romancal/resample/resample.py @@ -299,7 +299,7 @@ def resample_many_to_one(self): ymax=ymax, ) del data, inwht - output_model.meta.resample.members.append(img.meta.filename) + output_model.meta.resample.members.append(str(img.meta.filename)) # Resample variances array in self.input_models to output_model self.resample_variance_array("var_rnoise", output_model)