Commit 44d1de77 authored by dirk.wintergruen's avatar dirk.wintergruen
Browse files

catch error if networkx is not installed

parent ef9224fc
......@@ -16,7 +16,10 @@ import uuid
from itertools import product
from collections import defaultdict, OrderedDict
import numpy as np
import networkx
try:
import networkx
except:
logging.warning("Cannot import networkx, functions using this library will not work!")
from tqdm import tqdm
import pylab
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment