Skip to content
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

FIX: Invert sulcal depth metric before passing to MSM, use HCP atlas files #383

Merged
merged 5 commits into from
Nov 9, 2023

Conversation

effigies
Copy link
Member

@effigies effigies commented Nov 8, 2023

This PR narrowly inverts sulcal depth metrics before passing to MSM. I do not currently invert sulcal depth and curvature for GIFTI/CIFTI morphometric outputs.

Copy link

codecov bot commented Nov 8, 2023

Codecov Report

Attention: 19 lines in your changes are missing coverage. Please review.

Comparison is base (e370a73) 58.65% compared to head (b52fd5c) 58.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##             next     #383      +/-   ##
==========================================
- Coverage   58.65%   58.35%   -0.31%     
==========================================
  Files          26       27       +1     
  Lines        1872     1904      +32     
  Branches      238      239       +1     
==========================================
+ Hits         1098     1111      +13     
- Misses        717      736      +19     
  Partials       57       57              
Flag Coverage Δ
ds005 ∅ <ø> (∅)
ds054 45.92% <0.00%> (-0.87%) ⬇️
pytest 36.92% <42.42%> (+0.06%) ⬆️

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

Files Coverage Δ
smriprep/workflows/surfaces.py 21.77% <0.00%> (-0.75%) ⬇️
smriprep/interfaces/gifti.py 48.27% <48.27%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@effigies effigies changed the title FIX: Invert sulcal depth metric before passing to MSM FIX: Invert sulcal depth metric before passing to MSM, use HCP atlas files Nov 9, 2023
Copy link
Collaborator

@mgxd mgxd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is right, but let's wait on CI to catch any smoke. One thing we should probably discuss (probably at the next nipreps meeting) is the updating of templateflow templates, and the migration of these templates into it.

And thanks again to @madisoth for tracking this down!

@effigies effigies merged commit c238409 into nipreps:next Nov 9, 2023
14 of 16 checks passed
@effigies effigies deleted the fix/msm-invert-sulc branch November 9, 2023 17:42
effigies added a commit that referenced this pull request Nov 10, 2023
Invert sulcal depth and use correct atlases
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.

None yet

2 participants