Skip to content

Commit 333c5a3

Browse files
committed
Merge branch 'fix/dcm2niix' of github.com:mgxd/nipype into fix/dcm2niix
2 parents 7ba24f1 + e904bbb commit 333c5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/dcm2nii.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Info(PackageInfo):
2222
@staticmethod
2323
def parse_version(raw_info):
2424
m = re.search(r'version (\S+)', raw_info)
25-
return m[1] if m else None
25+
return m.groups()[0] if m else None
2626

2727

2828
class Dcm2niiInputSpec(CommandLineInputSpec):

0 commit comments

Comments
 (0)