spacetelescope / romancal

Python library to process science observations from the Nancy Grace Roman Space Telescope
https://roman-pipeline.readthedocs.io/en/latest/
Other
31 stars 28 forks source link

OutlierDetection: raise exception instead of skipping on invalid input #1302

Closed braingram closed 2 days ago

braingram commented 2 months ago

See https://github.com/spacetelescope/romancal/pull/1241/files#r1625005527

When input is invalid (for example, models are not images), raise a useful exception.

I suspect at least the test_outlier_skips_step_on_exposure_type_different_from_wfi_image will need to be changed to accommodate this change.