Skip to content

Commit

Permalink
Merge branch 'NeuroTechX:develop' into filter_bank_classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sara04 authored Oct 19, 2023
2 parents 36178c5 + d8d4b7f commit 665d3d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/plot_bids_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def print_tree(p: Path, last=True, header=""):
#
# After conversion, the data is stored in a BIDS-compliant way:
print("After conversion:")
print_tree(temp_dir / "MNE-alexandre motor imagery-bids-cache")
print_tree(temp_dir / "MNE-BIDS-alexandre-motor-imagery")

###############################################################################
# In the BIDS version of our dataset, the raw files are saved in EDF.
Expand Down
5 changes: 5 additions & 0 deletions moabb/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import moabb.datasets as db
from moabb.datasets.base import BaseDataset
from moabb.utils import aliases_list


dataset_list = []
Expand Down Expand Up @@ -53,6 +54,7 @@ def dataset_search( # noqa: C901
"""
if len(dataset_list) == 0:
_init_dataset_list()
deprecated_names, _, _ = zip(*aliases_list)

channels = set(channels)
out_data = []
Expand All @@ -63,6 +65,9 @@ def dataset_search( # noqa: C901
assert paradigm in ["imagery", "p300", "ssvep", None]

for type_d in dataset_list:
if type_d.__name__ in deprecated_names:
continue

d = type_d()
skip_dataset = False
if multi_session and d.n_sessions < 2:
Expand Down

0 comments on commit 665d3d2

Please sign in to comment.