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

Allow hardcoding of numerical values #1192

Open
FFroehlich opened this issue Aug 7, 2020 · 1 comment
Open

Allow hardcoding of numerical values #1192

FFroehlich opened this issue Aug 7, 2020 · 1 comment
Labels
PySB PySB import related python SBML SBML import related

Comments

@FFroehlich
Copy link
Member

Current workaround is to create a pysb.Expression that has the numerical value as value, but that abuses the API. Should be straightforward to allow a list of parameter values that are to be hardcoded as numerical value during model compilation.

@FFroehlich FFroehlich added python PySB PySB import related labels Aug 7, 2020
@dweindl
Copy link
Member

dweindl commented Jun 26, 2023

  • Do the same for SBML import

@FFroehlich FFroehlich added the SBML SBML import related label Jun 26, 2023
@FFroehlich FFroehlich changed the title Allow hardcoding of numerical values in pysb models Allow hardcoding of numerical values Jun 26, 2023
dweindl added a commit that referenced this issue Jul 4, 2023
Allows selecting parameters whose values are to be hard-coded (#1192).

So far, restricted to parameters that aren't targets of rule or initial assignments. 
This can be extended later: lifting those restrictions on parameters, allow hard-coding Species with constant=True, ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PySB PySB import related python SBML SBML import related
Projects
None yet
Development

No branches or pull requests

2 participants