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

handle pagination - needed for Stieger2021 ds #674

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Samuel-Boehm
Copy link

When working with the Stieger2021 dataset, I encountered an issue where only the first subject's data was being downloaded. The problem I found was fs_get_file_list function wasn't properly handling the Figshare API's pagination. With this implementation, the function now retrieves all files across every page of results, ensuring complete data collection for all subjects in the dataset.

@bruAristimunha
Copy link
Collaborator

Hey @Samuel-Boehm,

Thank you so much for your PR! We are super happy to receive this one.

The issue in the CI is not related to your PR. I will fix in another PR, I am sorry for this unrelated issue.

I come back in few hours.

@Samuel-Boehm
Copy link
Author

Sorry If I made mistakes here! I am currently working on an implementation of the original BEETL dataset for MOABB and was on the way of finishing it. However, I didn't want it to end up here in the branch. I am kind of new to git and contributing to projects. I will write a new merge request for the BEETL set soon.

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 this pull request may close these issues.

2 participants