Diff of /unimol/tasks/__init__.py [000000] .. [b40915]

Switch to side-by-side view

--- a
+++ b/unimol/tasks/__init__.py
@@ -0,0 +1,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])