-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
MICM now has lambda rate constants, processes which allow the rate of a reaction to be determined by a function. To start exploring QUACS, Texas A&M capstone still will implement a version of the lambda rate constant in javascript. We will need to allow parsing for this here. For now, we won't interpret the function; we will leave that job for later and for musica to do.
Acceptance criteria
- Lambda rate constants are added to v1 only
- Tests for lambda rate constants exist to v1 only
- The example files are updated to include lambda rate constants
Ideas
- A new struct is added in reaction types which is called
LambdaRateConstant, or some equivalent name, which contains a string label and a string representing the function - Add a vector of lambda rate constant reactions to the reactions struct
- Validation parameters for v1 are added for the lambda rate constant type and function
- A new parser is declared in the reaction parsers which will parse the lambda rate constant
- Implement this new parser in src/v1/reactions
- Add this new parser as an option in the v1 mechanism parsers
- Add configurations to the v1 examples for both yaml and json
- Add v1 tests for the new lambda parser
- Update the v1 integration tests and check that lambda reactions exist when reading the full examples
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels