Skip to content

problem importing _safe_get_data from nilearn #8

@pilsneyrouset

Description

@pilsneyrouset

Version of nilearn looks wrong.

This code raises the following error :

from notip.posthoc_fmri import get_clusters_table_TDP
get_clusters_table_with_TDP(z_map, fmri_input, n_permutations=200, stat_threshold=3.5, methods=['Notip'])

ImportError: cannot import name '_safe_get_data' from 'nilearn._utils.niimg' (/opt/mamba/lib/python3.12/site-packages/nilearn/_utils/niimg.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions