memote icon indicating copy to clipboard operation
memote copied to clipboard

core dumped during test_consistency.py

Open bananabenana opened this issue 2 years ago • 0 comments

Problem description

I have a model which I annotated using MetaNetX, and then I wanted to generate a MEMOTE report, to compare it to my pre-MetaNetX model.

However, I get the error: ../test_consistency.py FFAborted (core dumped)

My pre-MetaNetX files do not have this problem.

Code Sample

I have run MEMOTE both in python:

# Load model
model = read_sbml_model('model.xml')

# Run memote
result=memote.test_model(model, results=True)

# Print report to disk
report = memote.snapshot_report(result[1], config=None, html=True)
with open("model.html", "w") as handle:
    handle.write(report)

and command line:

memote report snapshot --filename model.html model.xml

and online

We're sorry, we encountered a network issue while trying to upload your model. Please check your internet connection, and try again in a short while.

Running with skip=["test_stoichiometric_consistency"] in python and --skip test_consistency in command line fixes the issue but I want these values.

How can I achieve this? Is it due to the filesize limitations or something MetaNetX is doing? If so, do you have another recommendation to fill out the annotation and metadata?

Context

Jinja2                                       3.0.0
black ; extra == 'development'       not installed
click                                          7.0
click-configfile                             0.2.3
click-log                                    0.3.0
cobra                                       0.21.0
cookiecutter                                 1.7.3
depinfo                                      1.7.0
future                                      0.18.2
gitpython                                   3.1.18
goodtables                                   2.5.4
importlib-resources                          5.1.0
isort ; extra == 'development'       not installed
memote                                      0.13.0
numpydoc                                     1.1.0
pandas                                       1.1.3
pip                                         20.0.2
pylru                                        1.2.0
pytest                                      4.6.11
requests                                    2.23.0
ruamel.yaml                                 0.16.0
setuptools                     46.4.0.post20200518
six                                         1.14.0
sqlalchemy                                  1.4.19
sympy                                        1.7.1
tox ; extra == 'development'         not installed
travis-encrypt                               1.1.2
wheel                                       0.34.2

bananabenana avatar Jun 23 '22 02:06 bananabenana