workaround for for now
@@ -1602,10 +1602,13 @@ class SEDMLTools(object):
"""
if doc.getErrorLog().getNumFailsWithSeverity(libsedml.LIBSEDML_SEV_ERROR) > 0:
print(libsedml.writeSedMLToString(doc))
- raise IOError(doc.getErrorLog().toString())
+ warnings.warn(doc.getErrorLog().toString())
+ # FIXME: workaround for https://github.com/fbergmann/libSEDML/issues/47
+ # raise IOError(doc.getErrorLog().toString())
if doc.getErrorLog().getNumFailsWithSeverity(libsedml.LIBSEDML_SEV_FATAL) > 0:
print(libsedml.writeSedMLToString(doc))
- raise IOError(doc.getErrorLog().toString())
+ # raise IOError(doc.getErrorLog().toString())
+ warnings.warn(doc.getErrorLog().toString())
if doc.getErrorLog().getNumFailsWithSeverity(libsedml.LIBSEDML_SEV_WARNING) > 0:
warnings.warn(doc.getErrorLog().toString())
if doc.getErrorLog().getNumFailsWithSeverity(libsedml.LIBSEDML_SEV_SCHEMA_ERROR) > 0:
