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 issue with from_pandas #1000

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

eivindjahren
Copy link
Collaborator

@eivindjahren eivindjahren commented Aug 12, 2024

Resolves #944

The PR duplicates the generator code from the ert test code. I think that is preferable to trying to reuse this code in both places as test failures will be difficult to debug, and we would likely want to modify the generators so that summaries() generates a resdata.summary.Summary

This breaks one test case from 1a41876 , but it seems like this synthetic data does not reflect how these fields should be interpreted.

@eivindjahren eivindjahren force-pushed the fix_issue_with_from_pandas branch 9 times, most recently from 4d15182 to e165fac Compare August 12, 2024 13:38
Copy link
Contributor

@sondreso sondreso left a comment

Choose a reason for hiding this comment

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

I think this looks good, but could you split it into one commit for adding the test data generator and one for solving the issue? 🙂

💯 0️⃣

@eivindjahren
Copy link
Collaborator Author

I think this looks good, but could you split it into one commit for adding the test data generator and one for solving the issue? 🙂

Split it now

@eivindjahren eivindjahren self-assigned this Aug 12, 2024
@sondreso
Copy link
Contributor

I think this looks good, but could you split it into one commit for adding the test data generator and one for solving the issue? 🙂

Split it now

🚀 Go for merge

@eivindjahren eivindjahren merged commit e8370c9 into equinor:main Aug 12, 2024
19 checks passed
@eivindjahren eivindjahren deleted the fix_issue_with_from_pandas branch August 12, 2024 14:27
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.

Bug in _compile_headers_list
2 participants