Skip to content

Commit

Permalink
Change test to check for correct SegmentationModel type.
Browse files Browse the repository at this point in the history
  • Loading branch information
schlafly committed Aug 28, 2024
1 parent 2311211 commit 8fbf6b6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions romancal/source_catalog/tests/test_source_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
MosaicModel,
MosaicSegmentationMapModel,
MosaicSourceCatalogModel,
SegmentationMapModel,
SourceCatalogModel,
)
from roman_datamodels.maker_utils import mk_level2_image, mk_level3_mosaic
Expand Down Expand Up @@ -461,7 +462,7 @@ def test_do_psf_photometry_column_names(tmp_path, image_model, fit_psf):
ImageModel,
{
"cat": SourceCatalogModel,
"segm": MosaicSegmentationMapModel,
"segm": SegmentationMapModel,
"sourcecatalog": ImageModel,
},
),
Expand All @@ -474,7 +475,7 @@ def test_do_psf_photometry_column_names(tmp_path, image_model, fit_psf):
SourceCatalogModel,
{
"cat": SourceCatalogModel,
"segm": MosaicSegmentationMapModel,
"segm": SegmentationMapModel,
},
),
(
Expand All @@ -486,7 +487,7 @@ def test_do_psf_photometry_column_names(tmp_path, image_model, fit_psf):
ImageModel,
{
"cat": SourceCatalogModel,
"segm": MosaicSegmentationMapModel,
"segm": SegmentationMapModel,
},
),
(
Expand All @@ -498,7 +499,7 @@ def test_do_psf_photometry_column_names(tmp_path, image_model, fit_psf):
SourceCatalogModel,
{
"cat": SourceCatalogModel,
"segm": MosaicSegmentationMapModel,
"segm": SegmentationMapModel,
},
),
),
Expand Down

0 comments on commit 8fbf6b6

Please sign in to comment.