Skip to content

Commit

Permalink
remove is_valid filter (#2169)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromedockes authored and kchawla-pi committed Oct 28, 2019
1 parent 4b1db88 commit 053e5a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
0.6.0b
======

Changes
-------

- :func:`nilearn.datasets.fetch_neurovault` now does not filter out images that
have their metadata field `is_valid` cleared by default.

Fixes
-----

Expand Down
3 changes: 1 addition & 2 deletions nilearn/datasets/neurovault.py
Original file line number Diff line number Diff line change
Expand Up @@ -2080,13 +2080,12 @@ def basic_image_terms():
true:
- It is not in MNI space.
- Its metadata field "is_valid" is cleared.
- It is thresholded.
- Its map type is one of "ROI/mask", "anatomical", or "parcellation".
- Its image type is "atlas"
"""
return {'not_mni': False, 'is_valid': True, 'is_thresholded': False,
return {'not_mni': False, 'is_thresholded': False,
'map_type': NotIn('ROI/mask', 'anatomical', 'parcellation'),
'image_type': NotEqual('atlas')}

Expand Down

0 comments on commit 053e5a8

Please sign in to comment.