-
Notifications
You must be signed in to change notification settings - Fork 173
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
base: master
Are you sure you want to change the base?
Conversation
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>
Codecov ReportAttention: Patch coverage is
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Code remove from the repository | |
# Code copied from the repository |
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") |
There was a problem hiding this comment.
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
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? |
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? |
Most of code was from https://github.com/hubertjb/dynamic-spatial-filtering