oirlab / liger_iris_pipeline

Data Reduction System (DRS) for the Thirty Meter Telescope IRIS imager/spectrograph
https://oirlab.github.io/liger-iris-pipeline
0 stars 4 forks source link

Investigate issue with datamodels.open #68

Closed zonca closed 2 months ago

zonca commented 3 months ago

Investigating https://github.com/oirlab/liger_iris_pipeline/issues/60, no need to review, no need to merge for now.

zonca commented 3 months ago

Error is:

FAILED liger_iris_pipeline/tests/test_dark.py::test_dark_step - TypeError: expected str, bytes or os.PathLike object, not LigerIrisDataModel
zonca commented 2 months ago

@astrobc1 I have not found a solution for this. So for now I think the best is to do a better workaround.

So with this base class we can use the same fix in other steps.