Skip to content
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

Warning message when using parametric stoichiometries #795

Closed
TorkelE opened this issue Mar 22, 2024 · 1 comment
Closed

Warning message when using parametric stoichiometries #795

TorkelE opened this issue Mar 22, 2024 · 1 comment

Comments

@TorkelE
Copy link
Member

TorkelE commented Mar 22, 2024

MWE:

@reaction_network begin
    @parameters n
    1.0, n*X --> Xn
end

Currently gives a warning:

┌ Warning: Reaction rate laws are expected to have units of 1.0  however, 1.0, n*X --> Xn has units of 1.0 ^n.
└ @ Catalyst ~/.julia/dev/Catalyst/src/networkapi.jl:1629
@TorkelE
Copy link
Member Author

TorkelE commented May 23, 2024

This works now, think it was fixed with the unit updates

@TorkelE TorkelE closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants