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

pysb.importers.sbml.model_from_sbml returns error when loading SBML #533

Open
devonjkohler opened this issue Jan 19, 2021 · 1 comment
Open
Labels

Comments

@devonjkohler
Copy link

devonjkohler commented Jan 19, 2021

Hi,
I am trying to read an SBML file into pysb using the model_from_sbml function. An example of the code I am running is as follows:
from pysb.importers.sbml import model_from_sbml pysb_model = model_from_sbml("sampleNetwork-1.xml")

When running this I get an error that reads: SympifyError: SympifyError: 'time'

I've checked my SBML file with an online SBML validator http://sbml.org/Facilities/Validator and it appears to be valid. Could you please check if this is a bug? I've attached the SBML file I am using below.

sampleNetwork-1.zip

@jmuhlich jmuhlich added the bug label Jan 20, 2021
@jmuhlich
Copy link
Member

PySB doesn't support explicit time in mathematical expressions yet, but the team just discussed it and we devloped an implementation plan. I've added an issue to track this at #534. We have a few other things in the pipeline right now but will get to this feature fairly soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants