-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cannot change parameter and pass parameters to model #93
Comments
p = list_params(ml)
update_list!(p, :stimulus_protocol₊IstimPeriod, 250.0) What are these? I think it should just use the normal MTK way of doing these things. |
That code snippet is from the example in the Readme.md on this repo (CellMLToolkit). It's a bit further down on the page in the Beeler et al. case. This issue is kind of linked to: SciML/ModelingToolkit.jl#1810 |
Ahh yeah, we should finish the |
A CellML model is a good example for the problem I mean in that. Since all the parameters are set in the model already, it would be a major pain to have to create the whole parameter map (which in some of them can be 1000s) if I only want to change 10. A remake that takes a partial parameter map would be a(nother) killer feature in that application. |
Definitely agreed. It's in the plan, just needs hands. |
Sorry to bother here, but |
I am trying to change the parameter in a cellML model, but the method in the Readme/Tutorial does not work anymore.
Steps to reproduce:
Error occurs:
Note: That top-level scope is just the actual model I am working on. But the error occurs on the model from the tutorial as well.
Versions:
Julia 1.8.0
[03cb29e0] CellMLToolkit v2.7.1
The text was updated successfully, but these errors were encountered: