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

[MAINT] Fix failing tests on main due to creating unsupported GiftiDataArrays #3649

Merged
merged 2 commits into from
Apr 5, 2023

Conversation

ymzayek
Copy link
Member

@ymzayek ymzayek commented Apr 4, 2023

See failures on main, e.g. https://github.com/nilearn/nilearn/actions/runs/4605300937/jobs/8137164142

Nibabel release includes a fix for enforcing valid datatypes for GIFTI
See nipy/nibabel#1199

@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

👋 @ymzayek Thanks for creating a PR!

Until this PR is ready for review, you can include the [WIP] tag in its title, or leave it as a github draft.

Please make sure it is compliant with our contributing guidelines. In particular, be sure it checks the boxes listed below.

  • PR has an interpretable title.
  • PR links to Github issue with mention Closes #XXXX (see our documentation on PR structure)
  • Code is PEP8-compliant (see our documentation on coding style)
  • Changelog or what's new entry in doc/changes/latest.rst (see our documentation on PR structure)

For new features:

  • There is at least one unit test per new function / class (see our documentation on testing)
  • The new feature is demoed in at least one relevant example.

For bug fixes:

  • There is at least one test that would fail under the original bug conditions.

We will review it as quick as possible, feel free to ping us with questions if needed.

@codecov
Copy link

codecov bot commented Apr 4, 2023

Codecov Report

Merging #3649 (4b6921e) into main (a7358f2) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3649      +/-   ##
==========================================
- Coverage   91.43%   91.35%   -0.09%     
==========================================
  Files         133      133              
  Lines       15471    15470       -1     
  Branches     3207     3207              
==========================================
- Hits        14146    14132      -14     
- Misses        780      793      +13     
  Partials      545      545              

see 12 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@Remi-Gau Remi-Gau left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks @ymzayek

@Remi-Gau
Copy link
Collaborator

Remi-Gau commented Apr 5, 2023

Will go ahead and merge this one.
thanks @ymzayek for taking care of it.

@Remi-Gau Remi-Gau merged commit 0b3de6e into nilearn:main Apr 5, 2023
Remi-Gau pushed a commit to Remi-Gau/nilearn that referenced this pull request Apr 5, 2023
…taArrays (nilearn#3649)

* Set Gifti valid datatype

* Fix remaining tests
@ymzayek ymzayek deleted the fix-gii branch April 5, 2023 12:31
matthew-brett added a commit to nipy/nipy that referenced this pull request Sep 21, 2023
MRG: Fix test creating unsupported double-precision GiftiDataArray

See:

nipy/nibabel#1198
nipy/nibabel#1199
nilearn/nilearn#3649
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.

3 participants