Skip to content

Commit

Permalink
Merge pull request #130 from NicolasGensollen/fix-nilearn-broken-import
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhenqi77 authored Feb 2, 2024
2 parents 4fc46fa + 4d15c84 commit 3faabb0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion netneurotools/datasets/fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@
import os.path as op
import warnings

from nilearn.datasets.utils import _fetch_files
try:
# nilearn 0.10.3
from nilearn.datasets._utils import fetch_files as _fetch_files
except ImportError:
from nilearn.datasets.utils import _fetch_files

import numpy as np
from sklearn.utils import Bunch

Expand Down

0 comments on commit 3faabb0

Please sign in to comment.