tqdm now optional

This commit is contained in:
Ozbolt Menegatti 2019-06-03 09:47:36 +02:00
parent ed27e549b7
commit 44d532808d

View File

@ -12,7 +12,11 @@ import concurrent.futures
import tempfile
from msd_translate import MSD_TRANSLATE
from tqdm import tqdm
try:
from tqdm import tqdm
except ImportError:
tqdm = lambda x: x
MAX_NUM_COMPONENTS = 5