Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using caching #552

Closed
toncho11 opened this issue Mar 29, 2024 · 1 comment · Fixed by #563
Closed

Error while using caching #552

toncho11 opened this issue Mar 29, 2024 · 1 comment · Fixed by #563
Assignees

Comments

@toncho11
Copy link
Contributor

toncho11 commented Mar 29, 2024

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
Copy link
Collaborator

Thanks @toncho11

PierreGtch added a commit that referenced this issue Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants