Skip to content

FIX: Use a more robust strategy for detecting ANTs version #3444

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 2, 2022

Conversation

effigies
Copy link
Member

@effigies effigies commented Apr 2, 2022

Fixes #3427.
Replaces #3430.

0rC0 and others added 3 commits April 2, 2022 12:42
Building ANTs from source code, actually the recommended procedure, leads to a version string with a leading `v` that causes the `TypeError`.

This little fix may solve nipy#3427
@codecov
Copy link

codecov bot commented Apr 2, 2022

Codecov Report

Merging #3444 (e731468) into master (e31573b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3444   +/-   ##
=======================================
  Coverage   65.21%   65.22%           
=======================================
  Files         308      308           
  Lines       40530    40533    +3     
  Branches     5353     5354    +1     
=======================================
+ Hits        26433    26438    +5     
+ Misses      13021    13020    -1     
+ Partials     1076     1075    -1     
Flag Coverage Δ
unittests 64.95% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
nipype/interfaces/ants/base.py 78.84% <100.00%> (+5.37%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e31573b...e731468. Read the comment docs.

@effigies effigies merged commit b20763e into nipy:master Apr 2, 2022
@effigies effigies added this to the 1.7.1 milestone Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: '<' not supported between instances of 'str' and 'int'
2 participants