Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions nipype/interfaces/ants/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def parse_version(raw_info):

# -githash may or may not be appended
v_string = v_string.split("-")[0]
# if there is a 'v' at the beginning, it may be stripped
v_string = v_string.lstrip('v')

# 2.2.0-equivalent version string
if "post" in v_string and LooseVersion(v_string) >= LooseVersion(
Expand Down