-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Miscellanous small improvements #1140
Conversation
Compiling this regex every time a Units object was created from a string was resulting in a noticeable slowdown when importing larger mechanisms.
The ruamel_yaml package name was only ever used by Anaconda. They have now adopted the ruamel.yaml name. The ruamel_yaml package is no longer up-to-date, so we should default to using ruamel.yaml and only fall back to ruamel_yaml if necessary, rather than the other way around.
Printing the input string that causes the error helps users find problematic input.
Codecov Report
@@ Coverage Diff @@
## main #1140 +/- ##
=======================================
Coverage 73.49% 73.49%
=======================================
Files 365 365
Lines 48187 48187
=======================================
Hits 35417 35417
Misses 12770 12770
Continue to review full report at Codecov.
|
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.
Thank you, @speth - this covered a lot of ground! I only have a minor comment.
Changes proposed in this pull request
fpValueCheck
Checklist
scons build
&scons test
) and unit tests address code coverage