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

Remove enum enforcement #112

Merged
merged 3 commits into from
Jan 5, 2023

Conversation

WilliamJamieson
Copy link
Collaborator

With ASDF 2.14.2, the bug in enum for schemas as fixed so that we can use enum for tagged-string objects in rad. This means it is no-longer necessary to enforce these enum values through roman_datamodels. Thus this PR cleans-up roman_datamodels by removing this unnecessary code.

Note that this PR depends on:

@codecov
Copy link

codecov bot commented Dec 5, 2022

Codecov Report

Base: 76.73% // Head: 76.60% // Decreases project coverage by -0.12% ⚠️

Coverage data is based on head (09c1030) compared to base (35d88b2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #112      +/-   ##
==========================================
- Coverage   76.73%   76.60%   -0.13%     
==========================================
  Files          15       15              
  Lines        2076     2056      -20     
==========================================
- Hits         1593     1575      -18     
+ Misses        483      481       -2     
Impacted Files Coverage Δ
src/roman_datamodels/stnode.py 89.20% <ø> (-0.05%) ⬇️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@nden nden left a comment

Choose a reason for hiding this comment

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

Can point to rad/main now or possible rad release.

@WilliamJamieson
Copy link
Collaborator Author

Can point to rad/main now or possible rad release.

Done

@WilliamJamieson WilliamJamieson merged commit c1bfc60 into spacetelescope:main Jan 5, 2023
@WilliamJamieson WilliamJamieson deleted the bugfix/enum branch January 5, 2023 19:34
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.

2 participants