-
Notifications
You must be signed in to change notification settings - Fork 121
Fix exporting parameters to runpath for design_matrix uses scientific notation #12480
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
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #12480 +/- ##
===========================================
- Coverage 90.64% 76.19% -14.46%
===========================================
Files 430 431 +1
Lines 29481 29615 +134
===========================================
- Hits 26722 22564 -4158
- Misses 2759 7051 +4292
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
CodSpeed Performance ReportMerging #12480 will not alter performanceComparing Summary
|
56793cd to
8556b3f
Compare
This commit fixes the issue where Ert converts large intergers to scientific notation when exporting design_matrix values to parameters.json, parameters.txt, and run templates.
| else: | ||
| formatted_value = str(value) | ||
| param_substituter[f"<{param_name}>"] = formatted_value | ||
| param_substituter[f"<{param_name}>"] = str(value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it just stay with the if and f"{value:.6f}" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thats the way it was before
|
Superseded by #12535 |
Issue
Resolves #12427
Approach
Short description of the approach
(Screenshot of new behavior in GUI if applicable)
git rebase -i main --exec 'just rapid-tests')When applicable