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

Fix bug for integers in sunsch substitute #666

Merged
merged 3 commits into from
Feb 21, 2024
Merged

Conversation

asnyv
Copy link
Contributor

@asnyv asnyv commented Feb 21, 2024

Resolves #665

The issue was that certain inputs have to be int to be parsed by opm, e.g. the VFP table number (added it to the test).
Probably just a typo in the conversion to pydantic as str was repeated twice in the typing.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (011afce) 86.26% compared to head (9c73b06) 86.26%.

❗ Current head 9c73b06 differs from pull request most recent head d39f333. Consider uploading reports for the commit d39f333 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #666   +/-   ##
=======================================
  Coverage   86.26%   86.26%           
=======================================
  Files          50       50           
  Lines        6990     6990           
=======================================
  Hits         6030     6030           
  Misses        960      960           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@asnyv
Copy link
Contributor Author

asnyv commented Feb 21, 2024

This is a bug in release 1.2.0, should a patch 1.2.1 be made?

Copy link
Collaborator

@berland berland left a comment

Choose a reason for hiding this comment

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

💯

@asnyv asnyv merged commit 3df859c into equinor:main Feb 21, 2024
6 checks passed
@asnyv asnyv deleted the int_sunsch branch February 21, 2024 12:18
@asnyv asnyv restored the int_sunsch branch February 21, 2024 12:35
asnyv added a commit to asnyv/subscript that referenced this pull request Feb 21, 2024
Fix bug for integers in sunsch substitute
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.

sunsch substitute feature converts int to float after #643
3 participants