dengxiao01

Results 5 comments of dengxiao01

> What is the result of the SBML validation? I am pretty sure your SBML is invalid and you should fix the issues in your model file. SBML validation of...

> Sorry, link changed with the site migration. https://sbml.org/validator_servlet/ Best Matthias thanks,this is the result of the SBML validation: This document is not valid SBML! Error[ Line 1181](https://sbml.org/validator_servlet/section-print-result.jsp#line-1181) Column 54:...

> Any chance that you can add a redirect on the proxy that runs sbml.org? Thank you. How do I do that? I'm not adding weighted direction

I tried to read it without error using libsbml: reader = libsbml.SBMLReader() document = reader.readSBML(sbml_test_file) print(document.getNumErrors()) print(document.printErrors()) but the ModelSEED provided invalid SBML models (duplicated IDs),How does cobrapy solve this...

> 要存储更改的模型,您必须再次将模型保存到文件中,即使用。您可以通过使用三个反向刻度来很好地格式化代码,这使其更具可读性。`cobra.io.write_sbml_model` > > ```python > model=cobra.io.read_sbml_model('Sitalica-v2.1.sbml') > for met in model.metabolites: > met.formula=formula[1] > met.charge=charge[1] > print(met.formula,met.charge) > ``` > > 更改后,请尝试执行以下操作。您只更改了内存中的模型对象,但未将其写回文件。 > > ```python > cobra.io.write_sbml_model(model, 'Sitalica-v2.1_with_charge_formula.sbml') >...