0

我尝试使用 PyViPR 中的 PySB 接口加载由 Human1 基因组规模代谢模型制成的 SBML (xml) 模型。

pyvipr.pysb_viz.sp_rxns_bidirectional_view('./mymodel.xml')

它不起作用,这是错误消息的最后一部分。看起来编码有一些问题:

    122         raise SbmlTranslationError(p_out.decode('utf-8') + "\n" +
--> 123                                    p_err.decode('utf-8'))

SbmlTranslationError: 
Traceback (most recent call last):
  File "<string>", line 55, in <module>
  File "<string>", line 49, in main
  File "C:\Users\proto\workspace\bionetgen\bng2\SBMLparser\build\sbmlTranslator\out00-PYZ.pyz\libsbml2bngl", line 345, in analyzeFile
  File "C:\Users\proto\workspace\bionetgen\bng2\SBMLparser\build\sbmlTranslator\out00-PYZ.pyz\sbml2bngl", line 49, in __init__
  File "C:\Users\proto\workspace\bionetgen\bng2\SBMLparser\build\sbmlTranslator\out00-PYZ.pyz\sbml2bngl", line 870, in getSpecies
AttributeError: 'NoneType' object has no attribute 'getListOfCompartments'
4

0 回答 0