Skip to content

Commit

Permalink
MAINT: Clean up code in calculations.py module (#112)
Browse files Browse the repository at this point in the history
* Restructures all calculation functions so 
the symbolic output is first in the code path

* Changes all `output_strings`/`key` mismatch
errors to use the same error message

* Changes various variable names to make
code more readable

* Simplifies kinetic rate (name) capture
in `calc_state_probs` and `calc_sigma` for
the `ouput_strings=True` code path

* Simplifies returns for all functions so
it is clear what the difference is between
the `output_strings` code paths
  • Loading branch information
nawtrey authored Aug 16, 2024
1 parent 2a7cc47 commit 9493049
Showing 1 changed file with 129 additions and 167 deletions.
Loading

0 comments on commit 9493049

Please sign in to comment.