materialsproject / fireworks

The Fireworks Workflow Management Repo.
https://materialsproject.github.io/fireworks
Other
361 stars 185 forks source link

errors during the tests #398

Closed ikondov closed 4 years ago

ikondov commented 4 years ago

I have the package python-igraph installed. When I run the tests I get these errors:

======================================================================
ERROR: disconnected graph
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 72, in test_dagflow_cut
    DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

======================================================================
ERROR: missing input
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 101, in test_dagflow_input
    DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

======================================================================
ERROR: wrong links
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 83, in test_dagflow_link
    DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

======================================================================
ERROR: loop in graph
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 64, in test_dagflow_loop
    DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

======================================================================
ERROR: construct and replicate
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 53, in test_dagflow_ok
    dagf = DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

======================================================================
ERROR: clashing inputs
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 119, in test_dagflow_output
    DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

======================================================================
ERROR: visualize the workflow graph
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fireworks/fireworks/utilities/tests/test_dagflow.py", line 128, in test_dagflow_view
    dagf = DAGFlow.from_fireworks(wfl)
NameError: name 'DAGFlow' is not defined

----------------------------------------------------------------------

If I uninstall python-igraph these tests are skipped that is the expected behavior in this case. But should not error if python-igraph is installed.