diff --git a/ties/ligandmap.py b/ties/ligandmap.py index 4a7ec05..e7ba590 100644 --- a/ties/ligandmap.py +++ b/ties/ligandmap.py @@ -1,9 +1,13 @@ import matplotlib.pyplot as plt import numpy import networkx -import dimod import tabulate +try: + import dimod +except ModuleNotFoundError: + print("Could not import dimod. Please install it to make ligandmap work.") + dwave = True try: import dwave_networkx.algorithms