ipyparallel icon indicating copy to clipboard operation
ipyparallel copied to clipboard

Random dag generator

Open abureyanahmed opened this issue 5 years ago • 1 comments

There is a bug in the random_dag function of

https://ipython.org/ipython-doc/3/parallel/dag_dependencies.html

The solution is to add the following line:

if G.has_edge(a, b):continue

before:

G.add_edge(a,b)

abureyanahmed avatar Mar 31 '19 23:03 abureyanahmed

This is suuuuper old documentation; this is not part of IPython anymore. I'll see if I can move that to ipyparallel.

Carreau avatar Apr 01 '19 02:04 Carreau