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 4164e93 commit eca83adCopy full SHA for eca83ad
pydra/scripts/__init__.py
@@ -0,0 +1,3 @@
1
+# Although the Python files in this directory are meant to be run separately,
2
+# we add a __init__.py file to make it a package that can easily be discovered
3
+# within the installation directory
pydra/engine/run_pickled.py renamed to pydra/scripts/run_pickled.py
pydra/utils/general.py
@@ -15,6 +15,7 @@
15
import builtins
16
import pkgutil
17
import logging
18
+import pydra.scripts
19
from ._version import __version__
20
21
@@ -24,6 +25,8 @@
24
25
from pydra.compose import workflow
26
27
28
+SCRIPTS_DIR = Path(pydra.scripts.__file__).parent
29
+
30
PYDRA_ATTR_METADATA = "__PYDRA_METADATA__"
31
32
TaskType = ty.TypeVar("TaskType", bound="Task")
0 commit comments