Skip to content

Commit 69dce12

Browse files
weningerleoneffigies
authored andcommitted
ENH: Add segmentation output to FSL's epi_reg (#2661)
* Add segmentation output to FSL's epi_reg * Update .zenodo.json
1 parent 19cdd59 commit 69dce12

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.zenodo.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,10 @@
574574
{
575575
"name": "McDermottroe, Conor"
576576
},
577+
{
578+
"affiliation": "Institute of Imaging & Computer Vision, RWTH Aachen University, Germany",
579+
"name": "Weninger, Leon"
580+
},
577581
{
578582
"affiliation": "MIT, HMS",
579583
"name": "Ghosh, Satrajit",
@@ -587,4 +591,4 @@
587591
],
588592
"license": "Apache-2.0",
589593
"upload_type": "software"
590-
}
594+
}

nipype/interfaces/fsl/epi.py

+4
Original file line numberDiff line numberDiff line change
@@ -947,6 +947,8 @@ class EpiRegOutputSpec(TraitedSpec):
947947
structural space')
948948
wmseg = File(
949949
exists=True, desc='white matter segmentation used in flirt bbr')
950+
seg = File(
951+
exists=True, desc='white matter, gray matter, csf segmentation')
950952
wmedge = File(exists=True, desc='white matter edges for visualization')
951953

952954

@@ -1013,6 +1015,8 @@ def _list_outputs(self):
10131015
os.getcwd(), self.inputs.out_base + '_fast_wmedge.nii.gz')
10141016
outputs['wmseg'] = os.path.join(
10151017
os.getcwd(), self.inputs.out_base + '_fast_wmseg.nii.gz')
1018+
outputs['seg'] = os.path.join(
1019+
os.getcwd(), self.inputs.out_base + '_fast_seg.nii.gz')
10161020

10171021
return outputs
10181022

nipype/interfaces/fsl/tests/test_auto_EpiReg.py

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def test_EpiReg_outputs():
6161
fullwarp=dict(),
6262
out_1vol=dict(),
6363
out_file=dict(),
64+
seg=dict(),
6465
shiftmap=dict(),
6566
wmedge=dict(),
6667
wmseg=dict(),

0 commit comments

Comments
 (0)