tqdm now optional
This commit is contained in:
parent
ed27e549b7
commit
44d532808d
6
wani.py
6
wani.py
|
@ -12,7 +12,11 @@ import concurrent.futures
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
from msd_translate import MSD_TRANSLATE
|
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
|
MAX_NUM_COMPONENTS = 5
|
||||||
|
|
Loading…
Reference in New Issue
Block a user