Skip to content

Commit 4a7e6f6

Browse files
committed
BF: Update ctab file locations to under label/
Mislabeled locations caused some parts of ReconAll to be re-done unnecessarily
1 parent 7d96581 commit 4a7e6f6

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -746,14 +746,14 @@ class ReconAll(CommandLine):
746746
'label/rh.aparc.a2009s.annot'], []),
747747
('parcstats2', ['stats/lh.aparc.a2009s.stats',
748748
'stats/rh.aparc.a2009s.stats',
749-
'stats/aparc.annot.a2009s.ctab'], []),
749+
'label/aparc.annot.a2009s.ctab'], []),
750750
('cortribbon', ['mri/lh.ribbon.mgz', 'mri/rh.ribbon.mgz',
751751
'mri/ribbon.mgz'], []),
752752
('segstats', ['stats/aseg.stats'], []),
753753
('aparc2aseg', ['mri/aparc+aseg.mgz',
754754
'mri/aparc.a2009s+aseg.mgz'], []),
755755
('wmparc', ['mri/wmparc.mgz', 'stats/wmparc.stats'], []),
756-
('balabels', ['BA.ctab', 'BA.thresh.ctab'], []),
756+
('balabels', ['label/BA.ctab', 'label/BA.thresh.ctab'], []),
757757
('label-exvivo-ec', ['label/lh.entorhinal_exvivo.label',
758758
'label/rh.entorhinal_exvivo.label'], []),
759759
]
@@ -808,17 +808,17 @@ class ReconAll(CommandLine):
808808
('cortribbon', ['mri/lh.ribbon.mgz', 'mri/rh.ribbon.mgz',
809809
'mri/ribbon.mgz'], []),
810810
('parcstats', ['stats/lh.aparc.astats', 'stats/rh.aparc.stats',
811-
'stats/aparc.annot.ctab'], []),
811+
'label/aparc.annot.ctab'], []),
812812
('cortparc2', ['label/lh.aparc.a2009s.annot',
813813
'label/rh.aparc.a2009s.annot'], []),
814814
('parcstats2', ['stats/lh.aparc.a2009s.stats',
815815
'stats/rh.aparc.a2009s.stats',
816-
'stats/aparc.annot.a2009s.ctab'], []),
816+
'label/aparc.annot.a2009s.ctab'], []),
817817
('cortparc3', ['label/lh.aparc.DKTatlas.annot',
818818
'label/rh.aparc.DKTatlas.annot'], []),
819819
('parcstats3', ['stats/lh.aparc.DKTatlas.stats',
820820
'stats/rh.aparc.DKTatlas.stats',
821-
'stats/aparc.annot.DKTatlas.ctab'], []),
821+
'label/aparc.annot.DKTatlas.ctab'], []),
822822
('pctsurfcon', ['surf/lh.w-g.pct.mgh', 'surf/rh.w-g.pct.mgh'], []),
823823
('hyporelabel', ['mri/aseg.presurf.hypos.mgz'], []),
824824
('aparc2aseg', ['mri/aparc+aseg.mgz',
@@ -827,7 +827,10 @@ class ReconAll(CommandLine):
827827
('apas2aseg', ['mri/aseg.mgz'], ['mri/aparc+aseg.mgz']),
828828
('segstats', ['stats/aseg.stats'], []),
829829
('wmparc', ['mri/wmparc.mgz', 'stats/wmparc.stats'], []),
830-
('balabels', ['BA.ctab', 'BA.thresh.ctab',
830+
# Note that this is a very incomplete list; however the ctab
831+
# files are last to be touched, so this should be reasonable
832+
('balabels', ['label/BA_exvivo.ctab',
833+
'label/BA_exvivo.thresh.ctab',
831834
'label/lh.entorhinal_exvivo.label',
832835
'label/rh.entorhinal_exvivo.label'], []),
833836
]

0 commit comments

Comments
 (0)