Deep-MI / BrainPrint

A python-only derivative of the original BrainPrint scripts
MIT License
11 stars 9 forks source link

Remove freesurfer dependencies and add tests #29

Closed kdiers closed 1 month ago

kdiers commented 3 months ago

This PR aims at removing the FreeSurfer dependencies from, and adding additional automated tests to the brainprint software.

These changes are expected to BREAK COMPATIBILITY with earlier versions (0.4.0 and lower): specifically, numerical values for the brainprint shape descriptor that are obtained from the proposed new version are expected to differ from earlier versions when applied to the same data, but have been shown to remain highly correlated with earlier results in our evaluations.

Minor remaining TODOs:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 63.97%. Comparing base (90acfbb) to head (4b641e7). Report is 47 commits behind head on main.

Files with missing lines Patch % Lines
brainprint/cli/help_text.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #29 +/- ## =========================================== + Coverage 26.00% 63.97% +37.97% =========================================== Files 8 8 Lines 350 322 -28 Branches 43 39 -4 =========================================== + Hits 91 206 +115 + Misses 256 97 -159 - Partials 3 19 +16 ``` | [Flag](https://app.codecov.io/gh/Deep-MI/BrainPrint/pull/29/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Deep-MI) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/Deep-MI/BrainPrint/pull/29/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Deep-MI) | `63.97% <96.00%> (+37.97%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Deep-MI#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.