-
-
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
Fix problems in ThermoPhase and Kinetics classes for the experimental Matlab toolbox #1586
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1586 +/- ##
==========================================
- Coverage 72.72% 72.70% -0.02%
==========================================
Files 370 370
Lines 56286 56298 +12
Branches 20369 20375 +6
==========================================
Hits 40932 40932
- Misses 12357 12369 +12
Partials 2997 2997
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
1f3b9f7
to
5d72afe
Compare
Sorry I've been busy with class and proposal defense in the past few weeks. I just got some time to go over the PR again. I mentioned to Ray earlier that some methods could not return correct error messages. It turns out these are methods that return certain indices such as They do not throw exceptions when the returned values are out of bounds (npos). Instead, there are dedicated methods to check whether these indices are out of bounds, for example The other remaining issue with the |
1acdc3f
to
be01c64
Compare
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.
Thanks for these updates, @ssun30. I think this is important progress for the new Matlab toolbox, and I'm glad to see it moving forward. I had just a few suggestions related to the current updates.
c6284bf
to
57d107e
Compare
57d107e
to
e213360
Compare
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.
Thanks, @ssun30! This looks good to me.
Changes proposed in this pull request
If applicable, fill in the issue number this pull request is fixing
Partially address Cantera/enhancements#177
If applicable, provide an example illustrating new features this pull request is introducing
PR #1496 introduced a test suite to the experimental Matlab interfaces. Currently, 12 out of 26 tests implemented in the test suite for the experimental Matlab interface are marked as filtered since they could not pass. This PR will address these problems so they will pass. Some changes to the Clib may be required as some of these problems are not related to the Matlab side of the interface.
Checklist
scons build
&scons test
) and unit tests address code coverage