tqdm now optional
This commit is contained in:
parent
ed27e549b7
commit
44d532808d
4
wani.py
4
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
|
||||||
|
|
||||||
|
try:
|
||||||
from tqdm import tqdm
|
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