eegdash 0.3.3.dev65__py3-none-any.whl → 0.3.3.dev67__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of eegdash might be problematic. Click here for more details.

eegdash/__init__.py CHANGED
@@ -7,4 +7,4 @@ __init__mongo_client()
7
7
 
8
8
  __all__ = ["EEGDash", "EEGDashDataset", "EEGChallengeDataset"]
9
9
 
10
- __version__ = "0.3.3.dev65"
10
+ __version__ = "0.3.3.dev67"
eegdash/data_utils.py CHANGED
@@ -2,10 +2,12 @@ import json
2
2
  import logging
3
3
  import os
4
4
  import re
5
+ import warnings
5
6
  from pathlib import Path
6
7
  from typing import Any
7
8
 
8
9
  import mne
10
+ import mne_bids
9
11
  import numpy as np
10
12
  import pandas as pd
11
13
  import s3fs
@@ -174,7 +176,16 @@ class EEGDashBaseDataset(BaseDataset):
174
176
  self._download_dependencies()
175
177
  self._download_s3()
176
178
  if self._raw is None:
177
- self._raw = mne.io.read_raw(fname=self.bidspath, verbose=False)
179
+ # capturing any warnings
180
+ # to-do: remove this once is fixed on the mne-bids side.
181
+ with warnings.catch_warnings(record=True) as w:
182
+ self._raw = mne_bids.read_raw_bids(
183
+ bids_path=self.bidspath, verbose="ERROR"
184
+ )
185
+ for warning in w:
186
+ logger.warning(
187
+ f"Warning while reading BIDS file: {warning.message}"
188
+ )
178
189
 
179
190
  # === BaseDataset and PyTorch Dataset interface ===
180
191
 
@@ -1,35 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: eegdash
3
- Version: 0.3.3.dev65
3
+ Version: 0.3.3.dev67
4
4
  Summary: EEG data for machine learning
5
5
  Author-email: Young Truong <dt.young112@gmail.com>, Arnaud Delorme <adelorme@gmail.com>, Aviv Dotan <avivd220@gmail.com>, Oren Shriki <oren70@gmail.com>, Bruno Aristimunha <b.aristimunha@gmail.com>
6
- License: GNU General Public License
7
-
8
- Copyright (C) 2024-2025
9
-
10
- Young Truong, UCSD, dt.young112@gmail.com
11
- Arnaud Delorme, UCSD, adelorme@ucsd.edu
12
- Aviv Dotan, BGU, avivdot@bgu.post.ac.il
13
- Oren Shriki, BGU, shrikio@bgu.ac.il
14
- Bruno Aristimunha, b.aristimunha@gmail.com
15
-
16
- This program is free software; you can redistribute it and/or modify
17
- it under the terms of the GNU General Public License as published by
18
- the Free Software Foundation; either version 2 of the License, or
19
- (at your option) any later version.
20
-
21
- This program is distributed in the hope that it will be useful,
22
- but WITHOUT ANY WARRANTY; without even the implied warranty of
23
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
- GNU General Public License for more details.
25
-
26
- You should have received a copy of the GNU General Public License
27
- along with this program; if not, write to the Free Software
28
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1.07 USA
29
-
6
+ License-Expression: GPL-3.0-only
30
7
  Project-URL: Homepage, https://github.com/sccn/EEG-Dash-Data
31
8
  Project-URL: Issues, https://github.com/sccn/EEG-Dash-Data/issues
32
- Classifier: License :: OSI Approved :: MIT License
33
9
  Classifier: Operating System :: OS Independent
34
10
  Classifier: Intended Audience :: Science/Research
35
11
  Classifier: Intended Audience :: Developers
@@ -1,7 +1,7 @@
1
- eegdash/__init__.py,sha256=uALy4D9ILgjI9j18swEQkPxkajlvZnBy3Vp5NgbWYgA,240
1
+ eegdash/__init__.py,sha256=LEOgzKY3wOadoTHe_l5VRVN5a38QMEcbchI13ou1wwM,240
2
2
  eegdash/api.py,sha256=OqOZ27GYURSAZwTQHSs0QcW_6Mq1i_5XHP6KMcihb8A,27295
3
3
  eegdash/data_config.py,sha256=OS6ERO-jHrnEOfMJUehY7ieABdsRw_qWzOKJ4pzSfqw,1323
4
- eegdash/data_utils.py,sha256=8Jb_94uVbdknNPpx3GBl4dCDYUIJNzl3zkLwbfH90N4,26052
4
+ eegdash/data_utils.py,sha256=_dycnPmGfTbYs7bc6edHxUn_m01dLYtp92_k44ffEoY,26475
5
5
  eegdash/dataset.py,sha256=ooLoxMFy2I8BY9gJl6ncTp_Gz-Rq0Z-o4NJyyomxLcU,2670
6
6
  eegdash/mongodb.py,sha256=GD3WgA253oFgpzOHrYaj4P1mRjNtDMT5Oj4kVvHswjI,2006
7
7
  eegdash/preprocessing.py,sha256=7S_TTRKPKEk47tTnh2D6WExBt4cctAMxUxGDjJqq5lU,2221
@@ -22,8 +22,8 @@ eegdash/features/feature_bank/dimensionality.py,sha256=j_Ds71Y1AbV2uLFQj8EuXQ4kz
22
22
  eegdash/features/feature_bank/signal.py,sha256=3Tb8z9gX7iZipxQJ9DSyy30JfdmW58kgvimSyZX74p8,3404
23
23
  eegdash/features/feature_bank/spectral.py,sha256=bNB7skusePs1gX7NOU6yRlw_Gr4UOCkO_ylkCgybzug,3319
24
24
  eegdash/features/feature_bank/utils.py,sha256=DGh-Q7-XFIittP7iBBxvsJaZrlVvuY5mw-G7q6C-PCI,1237
25
- eegdash-0.3.3.dev65.dist-info/licenses/LICENSE,sha256=asisR-xupy_NrQBFXnx6yqXeZcYWLvbAaiETl25iXT0,931
26
- eegdash-0.3.3.dev65.dist-info/METADATA,sha256=jzQQ705x_KvVRiSlHPT9P048biAgEN2NONf7oLTy6O4,11483
27
- eegdash-0.3.3.dev65.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
- eegdash-0.3.3.dev65.dist-info/top_level.txt,sha256=zavO69HQ6MyZM0aQMR2zUS6TAFc7bnN5GEpDpOpFZzU,8
29
- eegdash-0.3.3.dev65.dist-info/RECORD,,
25
+ eegdash-0.3.3.dev67.dist-info/licenses/LICENSE,sha256=asisR-xupy_NrQBFXnx6yqXeZcYWLvbAaiETl25iXT0,931
26
+ eegdash-0.3.3.dev67.dist-info/METADATA,sha256=uKvawgRTWQjM1mYlZsICPo4fgseVMqpjgPjTd_ncI84,10340
27
+ eegdash-0.3.3.dev67.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ eegdash-0.3.3.dev67.dist-info/top_level.txt,sha256=zavO69HQ6MyZM0aQMR2zUS6TAFc7bnN5GEpDpOpFZzU,8
29
+ eegdash-0.3.3.dev67.dist-info/RECORD,,