You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Attempt to download the Stieger2021 dataset using MOABB.
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']
The text was updated successfully, but these errors were encountered:
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:
Proposed Solution:
https://api.figshare.com/v2/articles/13123148/files
tohttps://api.figshare.com/v2/articles/13123148
to retrieve the full session information.return response
toreturn response['files']
The text was updated successfully, but these errors were encountered: