NeuroTechX / moabb

Mother of All BCI Benchmarks
https://neurotechx.github.io/moabb/
BSD 3-Clause "New" or "Revised" License
678 stars 176 forks source link

Error while using caching #552

Closed toncho11 closed 5 months ago

toncho11 commented 6 months ago

Uisng PhysionetMotorImagery

Here it is part of log messages:

TypeError: not enough arguments for format string

    X, y, metadata = self.paradigm.get_data(
  File "C:\Work\PythonCode\ML_examples\eeg_class\lib\site-packages\moabb\paradigms\base.py", line 279, in get_data
    data = [
  File "C:\Work\PythonCode\ML_examples\eeg_class\lib\site-packages\moabb\paradigms\base.py", line 280, in <listcomp>
    dataset.get_data(
  File "C:\Work\PythonCode\ML_examples\eeg_class\lib\site-packages\moabb\datasets\base.py", line 342, in get_data
    data[subject] = self._get_single_subject_data_using_cache(
  File "C:\Work\PythonCode\ML_examples\eeg_class\lib\site-packages\moabb\datasets\base.py", line 497, in _get_single_subject_data_using_cache
    interface.save(sessions_data)
  File "C:\Work\PythonCode\ML_examples\eeg_class\lib\site-packages\moabb\datasets\bids_interface.py", line 236, in save
    log.warning(
Message: 'Skipping caching %s session %s run %s because it is None.'
Arguments: (("'PhysionetMotorImagery' sub-17 datatype-epo desc-da5e0c1", '0', '5'),)
PierreGtch commented 5 months ago

Thanks @toncho11