spacetelescope / stcal

https://stcal.readthedocs.io/en/latest/
Other
10 stars 32 forks source link

Remove `DataModel` from alignment tests #273

Open braingram opened 3 months ago

braingram commented 3 months ago

The alignment tests include a DataModel class: https://github.com/spacetelescope/stcal/blob/eb8528c21e0ffbbdec89f5e1d7323425850d3b69/tests/test_alignment.py#L100 which doesn't match jwst or roman (and doesn't pass isinstance with the AbstractDataModel class in stpipe).

With the changes in https://github.com/spacetelescope/stcal/pull/267 we may be able to remove DataModel Metadata, Coordinates and WcsInfo to simplify the alignment tests.