-
Notifications
You must be signed in to change notification settings - Fork 31
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
SBML import: Undeclared identifier error when using parameters with initial assignments in observables #2150
Comments
dweindl
added a commit
to dweindl/AMICI
that referenced
this issue
Feb 22, 2024
Currently, parameters that are targets of initial assignments don't show up as parameters or expressions in the amici model. This is rather not what most users would expect. As a first step: treat all SBML parameters that are initial assignment targets and whose initial assignment evaluates to a number as amici parameters. Related to AMICI-dev#2150.
dweindl
added a commit
to dweindl/AMICI
that referenced
this issue
Feb 22, 2024
Currently, parameters that are targets of initial assignments don't show up as parameters or expressions in the amici model. This is rather not what most users would expect. Therefore, treat all SBML parameters that are initial assignment targets and whose initial assignment does not evaluate to a number (for those that do, see AMICI-dev#2304) as amici expressions. Those static expressions will be handled more efficiently after AMICI-dev#2303. Related to AMICI-dev#2150.
dweindl
added a commit
to dweindl/AMICI
that referenced
this issue
Feb 23, 2024
Currently, parameters that are targets of initial assignments don't show up as parameters or expressions in the amici model. This is rather not what most users would expect. As a first step: treat all SBML parameters that are initial assignment targets and whose initial assignment evaluates to a number as amici parameters. Related to AMICI-dev#2150.
dweindl
added a commit
to dweindl/AMICI
that referenced
this issue
Feb 23, 2024
Currently, parameters that are targets of initial assignments don't show up as parameters or expressions in the amici model. This is rather not what most users would expect. Therefore, treat all SBML parameters that are initial assignment targets and whose initial assignment does not evaluate to a number (for those that do, see AMICI-dev#2304) as amici expressions. Those static expressions will be handled more efficiently after AMICI-dev#2303. Related to AMICI-dev#2150.
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 26, 2024
…2304) Currently, parameters that are targets of initial assignments don't show up as parameters or expressions in the amici model. This is rather not what most users would expect. As a first step: treat all SBML parameters that are initial assignment targets and whose initial assignment evaluates to a number as amici parameters. Related to #2150.
dweindl
added a commit
that referenced
this issue
Feb 27, 2024
…2305) Currently, parameters that are targets of initial assignments don't show up as parameters or expressions in the amici model. This is rather not what most users would expect. Therefore, treat all SBML parameters that are initial assignment targets and whose initial assignment does not evaluate to a number (for those that do, see #2304) as amici expressions. Those static expressions will be handled more efficiently after #2303. Related to #2150. See also #2304.
This was
linked to
pull requests
Feb 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to #2145
The problem is again the way initial assignments are handled. Parameter symbols are replaced by the initial assignment expression, but not everywhere. Observable expressions still contain the parameter symbols that have been removed elsewhere.
The best would be not eliminating those parameter symbols, and instead handling them as static expressions (as proposed in #1269).
The text was updated successfully, but these errors were encountered: