File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ All tasks will be inserted into the `pydra.tasks.<yourtaskpackagename>` namespac
17
17
'v' to indicate the version of the tool the Pydra interfaces will be designed for,
18
18
e.g. FSL v6.0.2 could be ` pydra/tasks/fsl/v6 ` or ` pydra/tasks/fsl/v6_0 ` depending on
19
19
how stable the CLI of the tool is between minor versions.
20
- 1 . Edit ` pydra/tasks/<package-name>/latest ` , change the line ` from .v1 import * ` to refer
21
- to the ` v<package- version> ` module, e.g. ` from .v6 import * `
20
+ 1 . Edit ` pydra/tasks/<package-name>/latest.py ` to update references to ` v1 ` to the
21
+ tool target version
22
22
1 . Add tasks to the ` pydra/tasks/<package-name>/v<package-version> ` folder.
23
23
1 . You may want to initialize a [ Sphinx] docs directory.
24
24
1 . Review the workflow in ` .github/workflows/pythonpackage.yml ` . Testing editable installations
Original file line number Diff line number Diff line change 8
8
try :
9
9
from ._version import __version__
10
10
except ImportError :
11
- pass
11
+ raise RuntimeError (
12
+ "Pydra package 'CHANGEME' has not been installed, please use "
13
+ "`pip install -e <path-to-repo>` to install development version"
14
+ )
Original file line number Diff line number Diff line change
1
+ PACKAGE_VERSION = "v1"
2
+
1
3
from .v1 import * # noqa
You can’t perform that action at this time.
0 commit comments