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.
2 parents f85cf0d + eecdc5c commit 5715005Copy full SHA for 5715005
nipype/interfaces/ants/base.py
@@ -53,7 +53,8 @@ def version(self):
53
else:
54
return None
55
56
- v_string, githash = self._version.split('-')
+ # -githash may or may not be appended
57
+ v_string = self._version.split('-')[0]
58
59
# 2.2.0-equivalent version string
60
if 'post' in v_string and LooseVersion(v_string) >= LooseVersion('2.1.0.post789'):
0 commit comments