PySCeS / pysces

The official PySCeS project source code repository.
https://pysces.github.io
Other
34 stars 10 forks source link

PySCeS cannot import some converted models #59

Closed jonrkarr closed 3 years ago

jonrkarr commented 3 years ago

For example, importing BIOMD0000000297_url.xml.txt (SBML L2V4)

import pysces
import tempfile
interfaces = pysces.PyscesInterfaces.Core2interfaces()
fid, model_filename = tempfile.mkstemp(suffix='.psc')
interfaces.convertSBML2PSC('BIOMD0000000297_url.xml', pscfile=model_filename)
model = pysces.model(model_filename)

results in this error

AssertionError: 
Lexer Failure:
['|', '|']

Environment

bgoli commented 3 years ago

Thanks for the report.