Closed helenaherand closed 2 years ago
I think you might have downloaded the GitHub preview page. Can you try downloading using the "Download" button on the upper right?
Hi Christian, Thanks for your comment. I did not download the GitHub preview page. I downloaded the file with wget and "Download Linked File As"
If I download the model using "Download Linked File" and remove the .txt extension (and use the .xml extension) I get:
(None, {'SBML_FATAL': [], 'SBML_ERROR': [], 'SBML_SCHEMA_ERROR': [], 'SBML_WARNING': ['E0 (Warning): General SBML conformance (core, L3); RDF does not contain valid ModelHistory; LibSBML expected to read the annotation into a ModelHistory object. Unfortunately, some attributes were not present or correct and the resulting ModelHistory object will not correctly produce the annotation. This functionality will be improved in later versions of libSBML. \nReference: L3V1 Section 6.3\n An invalid ModelHistory element has been stored.\n', 'E1 (Warning): General SBML conformance (core, L3); RDF does not contain valid ModelHistory; LibSBML expected to read the annotation into a ModelHistory object. Unfortunately, some attributes were not present or correct and the resulting ModelHistory object will not correctly produce the annotation. This functionality will be improved in later versions of libSBML. \nReference: L3V1 Section 6.3\n An invalid ModelHistory element has been stored.\n'], 'COBRA_FATAL': ['None is not a valid solver interface. Pick one from scipy.'], 'COBRA_ERROR': [], 'COBRA_WARNING': [], 'COBRA_CHECK': []})
Hm, looks like your optlang installation is broken. You could try to reinstall with pip install optlang
and post the errors here.
Yes. I did. SolverNotFound: None is not a valid solver interface. Pick one from scipy.
The above exception was the direct cause of the following exception:
CobraSBMLError Traceback (most recent call last)
I uninstalled optlang and reinstalled it with pip3 install --target=d:/Users/helher/opt/anaconda3/envs/my-rdkit-env/lib/python3.7/site-packages optlang
(because of #1137). I tried to open the model elsewhere and it worked so something is not properly configured in my laptop. I will try to find a solution and closing this issue. Thanks, Christian.
Human-GEM.xml= "<?xml version="1.0" encoding="UTF-8"?>
Genome-scale metabolic models are valuable tools to study metabolism and provide a scaffold for the integrative analysis of omics data. This is the latest version of Human-GEM, which is a genome-scale metabolic model of a generic human cell. The objective of Human-GEM is to serve as a community model for enabling integrative and mechanistic studies of human metabolism.
...