We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9bec1d commit 36a411cCopy full SHA for 36a411c
src/snapred/backend/recipe/algorithm/__init__.py
@@ -12,22 +12,16 @@ def loadModule(x):
12
from mantid.api import AlgorithmFactory
13
from mantid.simpleapi import _create_algorithm_function
14
15
- print(f"LOADING {x}")
16
for i in range(30):
17
try:
18
module = importlib.import_module(f"{__name__}.{x}", x)
19
break
20
except ImportError as e:
21
y = str(e).split("'")[1]
22
- print(f"FAILED LOADING {e.name} needed for {x} : {y}")
23
if y in all_module_names:
24
loadModule(y)
25
else:
26
- # try:
27
importlib.import_module(e.name)
28
- # except:
29
- # print(f"STILL CAN'T LOAD {e.name}")
30
- # break
31
continue
32
33
# get just the class name
0 commit comments