-
Notifications
You must be signed in to change notification settings - Fork 7
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
Formulas are resolved before applying PV - unwanted behavior #2297
Comments
this worked before? |
Yes, V11. |
ok moving to core |
@PavelBal I don't think this worked before. PSV were applied after validation . But anyways |
hum nevermind. It's validating the configuration and not the updated model |
ok so this is because of this code here
We say that if the formula is constant, we overwrite the constant value with the value @Yuri05 and @PavelBal |
This definitely worked, I relied on this concept a lot in my projects and now I cannot create the simulations because of this changed behavior :) |
formula-resolved-before-pb.zip
In the attached project, the module
Test2
defines a parameterOrganism|Param
by an invalid formula (the referenced parameterfoo
is not present).Additionally, the value of the parameter is defined in the PV BB
When trying to create a simulation, an error is thrown that
foo
is not found. This behavior is unwanted, as I want the value defined in the PV BB to be applied without the formula being evaluated. This is how it worked in MoBi 11, and it was a way to overwrite parameters that otherwise would not be resolved.The text was updated successfully, but these errors were encountered: