-
Notifications
You must be signed in to change notification settings - Fork 217
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
[BUG] I can not open validated model for pseudomonas putida #1430
Comments
I can not open the pseudomonas model found in this publication : https://pmc.ncbi.nlm.nih.gov/articles/PMC7078882/#sec15 |
I have personally used that model so I know it's possible. Please provide more information like the error so that we can help you diagnose the problem. |
CobraSBMLError Traceback (most recent call last) File c:\Users\s233539\AppData\Local\anaconda3\envs\hemicellulosumAnnie\lib\site-packages\cobra\io\sbml.py:655, in _sbml_to_model(doc, number, f_replace, set_missing_bounds, **kwargs) File c:\Users\s233539\AppData\Local\anaconda3\envs\hemicellulosumAnnie\lib\site-packages\cobra\io\sbml.py:1607, in _check_required(sbase, value, attribute) CobraSBMLError: Required attribute 'id' cannot be found or parsed in ''. The above exception was the direct cause of the following exception: CobraSBMLError Traceback (most recent call last) File c:\Users\s233539\AppData\Local\anaconda3\envs\hemicellulosumAnnie\lib\site-packages\cobra\io\sbml.py:472, in read_sbml_model(filename, number, f_replace, **kwargs) CobraSBMLError: Something went wrong reading the SBML model. Most likely the SBML model is not valid. Please check that your model is valid using the |
Sorry, I must have worked with a previous version of the model. I get the following SBML errors with the model:
As well as one COBRApy error that you also discovered.
And as the SBML error E8 also lists, there is indeed a missing id. <listOfCompartments>
<compartment constant="true" id="Cytosol" name=""/>
<compartment constant="true" id="Extra_organism" name=""/>
<compartment constant="true" id="Periplasm" name=""/>
<compartment constant="true" id="" name=""/>
</listOfCompartments> So at least the model file in the supplements is not valid SBML. I suggest that you contact the authors. |
The model is not valid SBML, i.e. broken. The issues are easy to fix, but should probably be done by the authors and they should provide a valid model. Personally, I can't understand a publication called "High‐quality genome‐scale metabolic modelling of Pseudomonas putida" does not even provide a valid file. |
Thank you both I will contact the authros |
Is there an existing issue for this?
Problem description
No response
Code sample
Code run:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: