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

Update Nilearn API _check_same_fov #873

Merged
merged 6 commits into from
Apr 10, 2024
Merged

Update Nilearn API _check_same_fov #873

merged 6 commits into from
Apr 10, 2024

Conversation

adelavega
Copy link
Member

Fixes #872

@adelavega
Copy link
Member Author

Looks like nilearn also changed how they handle cmap in plot_roi.

Specifically, when we pass a custom cmap, on an image with only 1 level [0, 1], it fails.

nimare/meta/ibma.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.22%. Comparing base (4b33efe) to head (c63d8f3).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #873      +/-   ##
==========================================
- Coverage   88.26%   88.22%   -0.05%     
==========================================
  Files          48       48              
  Lines        6374     6352      -22     
==========================================
- Hits         5626     5604      -22     
  Misses        748      748              

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

with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

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

will see if this breaks when a pull request is opened from a fork instead of the original repo.

Copy link
Member

@jdkent jdkent left a comment

Choose a reason for hiding this comment

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

Looks like this works now! thanks @Remi-Gau and @adelavega!

@jdkent jdkent merged commit 07f8451 into main Apr 10, 2024
20 checks passed
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.

nilearn 0.10.3 breaks nimare
2 participants