Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated deprecated uses of ASDF #82

Merged
merged 3 commits into from Mar 13, 2023

Conversation

braingram
Copy link
Collaborator

This PR replaces the legacy AsdfExtension defined in stpipe.integration with a new style resource_mapping.

AsdfExtension is deprecated and will produced DeprecationWarnings in ASDF 2.15 and errors in ASDF 3.0.
https://asdf.readthedocs.io/en/stable/asdf/extending/legacy.html
asdf-format/asdf#1429

While testing for style issues with flake8 an unrelated line was flagged (in tests/test_step.py). This minor change was included here to hopefully avoid any style check failures.

@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

❗ No coverage uploaded for pull request base (master@e78c74f). Click here to learn what that means.
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head f5fde0f differs from pull request most recent head 676cd07. Consider uploading reports for the commit 676cd07 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #82   +/-   ##
=========================================
  Coverage          ?   54.17%           
=========================================
  Files             ?       25           
  Lines             ?     3057           
  Branches          ?        0           
=========================================
  Hits              ?     1656           
  Misses            ?     1401           
  Partials          ?        0           
Impacted Files Coverage Δ
src/stpipe/config.py 58.53% <100.00%> (ø)
src/stpipe/integration.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@eslavich eslavich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

CHANGES.rst Outdated Show resolved Hide resolved
@WilliamJamieson WilliamJamieson merged commit 809607c into spacetelescope:master Mar 13, 2023
@braingram braingram deleted the asdf_extension branch March 13, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants