-
Notifications
You must be signed in to change notification settings - Fork 18
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
Importing SBML not working like it used to #40
Comments
I have had this error earlier when the SBML filename was invalid or not present in the directory. Either that or the SBML file is empty somehow? Can you check if one of these is the case for you? |
The filename is valid and is present in the directory. I am able to read it in with other methods like "xmltodict" and "xml.etree.ElementTree" |
Hi, When I try to save my Bioscrape model using: Thanks! |
@ayush9pandey do you think this bioscrape issue is related to the problems you just fixed in biocrnpyler? |
I don't think so, I suspect this has something to do with latest commits to bioscrape? I haven't recreated the issue on my end yet. |
Thanks to Liana, we tracked down this issue . The problem is with species names that are not allowed in SBML (such as those having colons, semicolons etc.). This is activated when such a species is added in a reaction. |
Fixed with #50. It should throw an error now saying that SBML does not allow names with colons, etc. @lianamerk whenever you have a chance can you check if that is the case? |
Hi bioscrape team,
I have an SBML model from class a few weeks ago that I used to be able to import fine. I updated bioscrape today to get inference, and now two methods of importing sbml files is failing. I've tried:
bioscrape.sbmlutil.import_sbml(filename)
andbioscrape.types.Model(sbml_filename = filename)
Both are giving me: SBML File (filename) cannot be read without errors.
I can attach the file or test out more ways of importing if needed.
Thanks!!
The text was updated successfully, but these errors were encountered: