diff --git a/doc/whats_new.rst b/doc/whats_new.rst index 657d26873f..a944205388 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -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 ----- diff --git a/nilearn/datasets/neurovault.py b/nilearn/datasets/neurovault.py index d541ce16dd..f54a7aae71 100644 --- a/nilearn/datasets/neurovault.py +++ b/nilearn/datasets/neurovault.py @@ -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')}