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

Adding SleepPhysionetChallenge2018 dataset #621

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

bruAristimunha
Copy link
Collaborator

bruAristimunha and others added 13 commits May 20, 2024 19:00
Co-authored-by: Hubert Banville <hubert.jbanville@gmail.com>
Co-authored-by: Hubert Banville <hubert.jbanville@gmail.com>
Co-authored-by: Hubert Banville <hubert.jbanville@gmail.com>
Co-authored-by: Hubert Banville <hubert.jbanville@gmail.com>
Co-authored-by: Hubert Banville <hubert.jbanville@gmail.com>
Co-authored-by: Hubert Banville <hubert.jbanville@gmail.com>
Copy link

codecov bot commented May 21, 2024

Codecov Report

Attention: Patch coverage is 60.33058% with 48 lines in your changes missing coverage. Please review.

Project coverage is 86.77%. Comparing base (726ee1a) to head (aebfe80).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #621      +/-   ##
==========================================
- Coverage   87.29%   86.77%   -0.53%     
==========================================
  Files          67       68       +1     
  Lines        6055     6176     +121     
==========================================
+ Hits         5286     5359      +73     
- Misses        769      817      +48     

# Authors: Hubert Banville <hubert.jbanville@gmail.com>
#
# License: BSD (3-clause)
# Code remove from the repository
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Code remove from the repository
# Code copied from the repository

Comment on lines +28 to +33
PC18_DIR = op.join(op.dirname(__file__), "data", "pc18")
PC18_RECORDS = op.join(PC18_DIR, "sleep_records.csv")
PC18_INFO = op.join(PC18_DIR, "age-sex.csv")
PC18_URL = "https://physionet.org/files/challenge-2018/1.0.0/"
PC18_SHA1_TRAINING = op.join(PC18_DIR, "training_SHA1SUMS")
PC18_SHA1_TEST = op.join(PC18_DIR, "test_SHA1SUMS")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if their is a better way to do this

@robintibor
Copy link
Contributor

Do we really need to add these large csv etc files directly into the codebase? Is there not any other way, like are they hosted somewhere and downloadable? Or is this a common practise to do this way? Seems a bit unexpected to me?

@bruAristimunha
Copy link
Collaborator Author

Indeed, I don't think it's a good idea to add this big file here. But, it seems like this is what MNE does in the other sleep dataset. Any idea how to solve this point, @agramfort and @hubertjb?

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.

None yet

2 participants