[b40915]: / unimol / tasks / __init__.py

Download this file

8 lines (6 with data), 272 Bytes

1
2
3
4
5
6
7
from pathlib import Path
import importlib
# automatically import any Python files in the criterions/ directory
for file in sorted(Path(__file__).parent.glob("*.py")):
if not file.name.startswith("_"):
importlib.import_module("unimol.tasks." + file.name[:-3])