Skip to content

Commit 07060d4

Browse files
author
David Ellis
committed
FIX: BAMaps stats files now datasink to the correct location.
1 parent 8cde742 commit 07060d4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

nipype/workflows/smri/freesurfer/ba_maps.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ def create_ba_maps_wf(name="Brodmann_Area_Maps", th3=True):
3434

3535
ba_WF = pe.Workflow(name=name)
3636

37-
ba_outputs = ['lh_table',
37+
ba_outputs = ['lh_BAMaps_stats',
3838
'lh_color',
3939
'lh_BAMaps_labels',
4040
'lh_BAMaps_annotation',
41-
'lh_thresh_table',
41+
'lh_thresh_BAMaps_stats',
4242
'lh_thresh_color',
4343
'lh_thresh_BAMaps_labels',
4444
'lh_thresh_BAMaps_annotation',
45-
'rh_table',
45+
'rh_BAMaps_stats',
4646
'rh_color',
4747
'rh_BAMaps_labels',
4848
'rh_BAMaps_annotation',
49-
'rh_thresh_table',
49+
'rh_thresh_BAMaps_stats',
5050
'rh_thresh_color',
5151
'rh_thresh_BAMaps_labels',
5252
'rh_thresh_BAMaps_annotation']
@@ -118,7 +118,7 @@ def create_ba_maps_wf(name="Brodmann_Area_Maps", th3=True):
118118
ba_WF.connect([(stats_node, outputspec, [('out_color',
119119
'{0}_thresh_color'.format(hemisphere)),
120120
('out_table',
121-
'{0}_thresh_table'.format(hemisphere))]),
121+
'{0}_thresh_BAMaps_stats'.format(hemisphere))]),
122122
(label2annot, outputspec,
123123
[('out_file', '{0}_thresh_BAMaps_annotation'.format(hemisphere))]),
124124
(node, outputspec,
@@ -128,7 +128,7 @@ def create_ba_maps_wf(name="Brodmann_Area_Maps", th3=True):
128128
ba_WF.connect([(stats_node, outputspec, [('out_color',
129129
'{0}_color'.format(hemisphere)),
130130
('out_table',
131-
'{0}_table'.format(hemisphere))]),
131+
'{0}_BAMaps_stats'.format(hemisphere))]),
132132
(label2annot, outputspec,
133133
[('out_file', '{0}_BAMaps_annotation'.format(hemisphere))]),
134134
(node, outputspec, [('out_file',

nipype/workflows/smri/freesurfer/recon.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -466,13 +466,13 @@ def getDSTransformPath(subjects_dir, subject_id):
466466
('rh_wg_pct_stats', 'stats.@rh_wg_pct_stats'),
467467
('lh_pctsurfcon_log', 'log.@lh_pctsurfcon_log'),
468468
('rh_pctsurfcon_log', 'log.@rh_pctsurfcon_log'),
469-
('lh_table', 'label.@lh_table'),
469+
('lh_BAMaps_stats', 'stats.@lh_BAMaps_stats'),
470470
('lh_color', 'label.@lh_color'),
471-
('lh_thresh_table', 'label.@lh_thresh_table'),
471+
('lh_thresh_BAMaps_stats', 'stats.@lh_thresh_BAMaps_stats'),
472472
('lh_thresh_color', 'label.@lh_thresh_color'),
473-
('rh_table', 'label.@rh_table'),
473+
('rh_BAMaps_stats', 'stats.@rh_BAMaps_stats'),
474474
('rh_color', 'label.@rh_color'),
475-
('rh_thresh_table', 'label.@rh_thresh_table'),
475+
('rh_thresh_BAMaps_stats', 'stats.@rh_thresh_BAMaps_stats'),
476476
('rh_thresh_color', 'label.@rh_thresh_color'),
477477
('lh_BAMaps_labels', 'label.@lh_BAMaps_labels'),
478478
('lh_thresh_BAMaps_labels', 'label.@lh_thresh_BAMaps_labels'),

0 commit comments

Comments
 (0)