From ae4d67c53ac3aad135338a9aa040b70fa4e09ac1 Mon Sep 17 00:00:00 2001 From: bieniekmat Date: Sat, 19 Aug 2023 19:49:28 +0100 Subject: [PATCH] Building and setup --- ties/ligandmap.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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