-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TESTS, PKG: Remove DeprecationWarnings (#377)
* TESTS, PKG: Remove DeprecationWarnings `nibabel` threw `DeprecationWarnings` in calls to `1w.get_data()`: the `get_data()` method has been deprecated since release 3.0 (December 2019), and one should use `get_fdata()` instead, see e.g. https://git.fmrib.ox.ac.uk/samh/profumo/commit/82cde929f04a581c2c6984d7fa280a37868d082b `get_fdata()` was introduced in `nibabel` 2.2 (October 2017), therefore I felt incouraged to simply switch `mne-bids` to `get_fdata()` without adding a fallback to `get_data()`, and bumping the min. required `nibabel` version to 2.2. * TESTS: Update doc env
- Loading branch information
1 parent
7ccee73
commit 33c3daa
Showing
6 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ dependencies: | |
- matplotlib | ||
- pip: | ||
- mne>=0.19.1 | ||
- nibabel | ||
- nibabel>=2.2 | ||
- pybv | ||
- nilearn | ||
- flake8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters