Skip to content

Commit 357cd12

Browse files
Increasing mne_bids version (#699)
* [FIX] solving some conversion issues with moabb bids dataset * [DOC] updating the whats new file * Apply suggestions from code review Signed-off-by: Bru <[email protected]> * [fix] fixing the mamem3 * [EHN] reverting. * [EHN] reverting. * [EHN] reverting. * Apply suggestions from code review Signed-off-by: Bru <[email protected]> --------- Signed-off-by: Bru <[email protected]> Signed-off-by: Bru <[email protected]>
1 parent c9fe2f2 commit 357cd12

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

docs/source/whats_new.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ Bugs
3434
- Improving the CI (:gh:`686` by `Bruno Aristimunha`_)
3535
- Making the download test work again (:gh:`693` by `Bruno Aristimunha`_)
3636
- Fix the EpochSelectChannel that caused incorrect channel selection in `example <examples/plot_Hinss2021_classification.py>` (:gh:`685` by `AFF`)
37-
- Fixing the logger on the Stieger2021 and Wang2016 dataset (:gh:`693` by `Bruno Aristimunha`_
37+
- Fixing the logger on the Stieger2021 and Wang2016 dataset (:gh:`693` by `Bruno Aristimunha`_)
38+
- Change the way of creating the path to the folder (:gh:`697` by `Sebastien Velut`_)
3839
- Fixing bug with braindecode and moabb datasets EPFLP300 (:gh:`696` by `Bruno Aristimunha`_)
39-
- Change the way of creating the path to the folder (by `Sebastien Velut`_)
40+
- Fixing the dataset details for bids conversion (:gh:`698` by `Bruno Aristimunha`_)
4041
- Fixing unit issue and lack of montage with :class:`moabb.datasets.Rodrigues2017`, :class:`moabb.datasets.Rodrigues2017`, :class:`moabb.datasets.BaseCastillos2023`, :class:`moabb.datasets.BaseCastillos2023`, :class:`moabb.datasets.Huebner2018`, :class:`moabb.datasets.Cattan2019_PHMD`, :class:`moabb.datasets.Ofner2017` (:gh:`700` `Bruno Aristimunha`_)
4142

4243

moabb/datasets/bids_interface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,14 @@ def lock_file(self):
152152
def erase(self):
153153
"""Erase the cache of the subject if it exists."""
154154
log.info("Starting erasing cache of %s...", repr(self))
155+
155156
path = mne_bids.BIDSPath(
156157
root=self.root,
157158
subject=subject_moabb_to_bids(self.subject),
158159
description=self.desc,
159160
check=False,
160161
)
162+
161163
path.rm(safe_remove=False)
162164
log.info("Finished erasing cache of %s.", repr(self))
163165

0 commit comments

Comments
 (0)