We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9f00d5 commit 4c4bd89Copy full SHA for 4c4bd89
niworkflows/interfaces/patches.py
@@ -27,6 +27,8 @@
27
28
from numpy.linalg.linalg import LinAlgError
29
from nipype.algorithms import confounds as nac
30
+from nipype.interfaces import io as nio
31
+from nipype.interfaces.base import File
32
33
34
class RobustACompCor(nac.ACompCor):
@@ -73,3 +75,15 @@ def _run_interface(self, runtime):
73
75
sleep(randint(start + 4, start + 10))
74
76
77
return runtime
78
+
79
80
+class _FSSourceOutputSpec(nio.FSSourceOutputSpec):
81
+ T2 = File(desc='Intensity normalized whole-head volume', loc='mri')
82
83
84
+class FreeSurferSource(nio.FreeSurferSource):
85
+ """
86
+ Patch to allow grabbing the T2 volume, if available
87
88
89
+ output_spec = _FSSourceOutputSpec
0 commit comments