File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ Next release
9
9
* ENH: Minor improvements to FSL's FUGUE and FLIRT interfaces
10
10
* ENH: Added optional dilation of parcels in cmtk.Parcellate
11
11
* ENH: Interpolation mode added to afni.Resample
12
+ * ENH: Function interface can accept a list of strings containing import statements
13
+ that allow external functions to run without their imports defined in the
14
+ function body
12
15
13
16
* FIX: SpecifyModel works with 3D files correctly now.
14
17
Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ be imported within the function itself::
71
71
Without explicitly importing Nibabel in the body of the function, this
72
72
would fail.
73
73
74
+ Alternatively, it is possible to provide a list of strings corresponding
75
+ to the imports needed to execute a function as a parameter of the `Function `
76
+ constructor. This allows for the use of external functions that do not
77
+ import all external definitions inside the function body.
78
+
74
79
Hello World - Function interface in a workflow
75
80
----------------------------------------------
76
81
You can’t perform that action at this time.
0 commit comments