spacetelescope / roman_datamodels

Datamodel support for the roman calibration pipeline
https://roman-datamodels.readthedocs.io
Other
7 stars 21 forks source link

RCAL-933 Update filename on open #409

Closed WilliamJamieson closed 1 month ago

WilliamJamieson commented 1 month ago

Resolves [RCAL-933][(https://jira.stsci.edu/browse/RCAL-933)

Closes #spacetelescope/romancal#1443

This PR makes datamodels open with the meta.filename matching their filename on disk. This only works when opening via the rdm.open not asdf.open.

Tasks

News fragment change types: - ``changes/.feature.rst``: new feature - ``changes/.bugfix.rst``: fixes an issue - ``changes/.doc.rst``: documentation change - ``changes/.removal.rst``: deprecation or removal of public API - ``changes/.misc.rst``: infrastructure or miscellaneous change
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.75%. Comparing base (087a60d) to head (279cac2). Report is 59 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #409 +/- ## ========================================== + Coverage 97.56% 97.75% +0.19% ========================================== Files 30 37 +7 Lines 2788 3482 +694 ========================================== + Hits 2720 3404 +684 - Misses 68 78 +10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

WilliamJamieson commented 1 month ago