File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
"""
11
11
12
- from nibabies .utils .bids import group_bolds_ref
13
12
import sys
14
13
import os
15
14
from copy import deepcopy
16
15
16
+ from packaging .version import Version
17
17
from nipype .pipeline import engine as pe
18
18
from nipype .interfaces import utility as niu
19
19
20
+ from .bold import init_func_preproc_wf
20
21
from .. import config
21
22
from ..interfaces import DerivativesDataSink
22
23
from ..interfaces .reports import SubjectSummary , AboutSummary
23
- from .bold import init_func_preproc_wf
24
+ from .. utils . bids import group_bolds_ref
24
25
25
26
26
27
def init_nibabies_wf ():
@@ -47,7 +48,8 @@ def init_nibabies_wf():
47
48
from niworkflows .engine .workflows import LiterateWorkflow as Workflow
48
49
from niworkflows .interfaces .bids import BIDSFreeSurferDir
49
50
50
- nibabies_wf = Workflow (name = "nibabies_wf" )
51
+ ver = Version (config .environment .version )
52
+ nibabies_wf = Workflow (name = f"nibabies_{ ver .major } _{ ver .minor } _wf" )
51
53
nibabies_wf .base_dir = config .execution .work_dir
52
54
53
55
freesurfer = config .workflow .run_reconall
You can’t perform that action at this time.
0 commit comments