Mizzou-CBMI / COSMOS2

Python Scientific Pipeline Management System
GNU General Public License v3.0
71 stars 39 forks source link

Examples and tests fail on fresh install #80

Closed 1pakch closed 6 years ago

1pakch commented 6 years ago

Running ex1.py on a fresh py3 install fails with

 File "/home/ikolpako/.local/lib/python3.5/site-packages/cosmos/models/Workflow.py", line 544, in <listcomp>
    ready_tasks = [task for task, degree in list(task_queue.in_degree()) if
TypeError: 'Task' object is not iterable

Both tests fail with the same error when executed via python3 setup.py test:

EDIT: As discussed on gitter this happens when an old version (<2.0) networkx is imported. I guess it's appropriate to require networkx>=2.0 in setup.py.