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 140b715 commit e904bbbCopy full SHA for e904bbb
nipype/interfaces/dcm2nii.py
@@ -22,7 +22,7 @@ class Info(PackageInfo):
22
@staticmethod
23
def parse_version(raw_info):
24
m = re.search(r'version (\S+)', raw_info)
25
- return m[1] if m else None
+ return m.groups()[0] if m else None
26
27
28
class Dcm2niiInputSpec(CommandLineInputSpec):
0 commit comments