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

Incomplete Data Retrieval for Stieger2021 Dataset using FigShare #677

Open
ZikaiVan opened this issue Jan 15, 2025 · 0 comments
Open

Incomplete Data Retrieval for Stieger2021 Dataset using FigShare #677

ZikaiVan opened this issue Jan 15, 2025 · 0 comments

Comments

@ZikaiVan
Copy link

Description:

I encountered an issue when downloading the Stieger2021 motor imagery dataset using the MOABB framework. The current implementation first makes a request to the API endpoint https://api.figshare.com/v2/articles/13123148/files to retrieve session information. However, this endpoint only returns information for the first 10 sessions, which results in the remaining data being unavailable for download.

By the way, I am not sure about if this may affect other datasets on FigShare, my solution may lead to other problems.

Thank you for your attention to this matter. I look forward to seeing this issue addressed in a future update.

Steps to reproduce:

  1. Attempt to download the Stieger2021 dataset using MOABB.
  2. Notice that only the first 10 sessions are returned due to the limited API response.

Proposed Solution:

  • Change the request URL from https://api.figshare.com/v2/articles/13123148/files to https://api.figshare.com/v2/articles/13123148 to retrieve the full session information.
  • Change return response to return response['files']
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

No branches or pull requests

1 participant