Open
Conversation
Closed
jbreue16
requested changes
Jul 28, 2025
Contributor
jbreue16
left a comment
There was a problem hiding this comment.
Thanks for starting this, great to finally have some reaction tests here!
I think once you have verified on your end that the results match for the old and new interface, we should only implement the new interface, otherwise we'll have to remove that code again in the future when the old interface is deprecated. I suggest you compute reference solutions with the new interface, store them under data/CADET-Core_reference/reactions, and update the test functions to compare to that reference solutions.
b962d0d to
4e35a9f
Compare
5fa1c83 to
329536f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request enhances the
src/verify_cadet-core.pyscript by adding functionality to test reaction models and integrating them into the existing workflow. The most important changes include importing a new module, enabling reaction tests, and implementing specific reaction test cases.Additions to reaction testing:
multiple_reactionsmodule import to support reaction testing functionality. ([src/verify_cadet-core.pyR38](https://github.com/cadet/CADET-Verification/pull/57/files#diff-32a96d33bd56851c4b04cc2065f66a8a1fa3ced0921e0f5a4d6d88cb160c44f3R38))run_reaction_tests, set toTrueby default, to enable or disable reaction tests. ([src/verify_cadet-core.pyR60](https://github.com/cadet/CADET-Verification/pull/57/files#diff-32a96d33bd56851c4b04cc2065f66a8a1fa3ced0921e0f5a4d6d88cb160c44f3R60))multiple_reactions_grm_test_bulk,multiple_reactions_lrmp_test_bulk, andmultiple_reactions_mct_test_bulk) and integrated them into the workflow. These tests generate output files and optionally delete them after execution. ([src/verify_cadet-core.pyR158-R168](https://github.com/cadet/CADET-Verification/pull/57/files#diff-32a96d33bd56851c4b04cc2065f66a8a1fa3ced0921e0f5a4d6d88cb160c44f3R158-R168))