We use cookies and other tools to enhance your experience on our website and to analyze our web traffic.
For more information about these cookies and the data collected, please refer to our Privacy Policy.

I want to restart SHHS dataset.

7 posts
Was this reply useful? Learn more...
 
[-]
JaHyungKoo +0 points · about 1 month ago

Hello I know about restarting SHHS dataset.

I downloaded it from last Thursday(7 April), however, it stopped "shhs\polysomnography\edfs\shhs1" "shhs1-202268.edf" file.

So I want to find "https://github.com/nsrr/nsrr-gem"

And I find console manual and I try it same command.

irb(main):016:0> d.download("edfs/shhs1", method: "fast", depth: "recursive") File Check: fast File Regex: nil Depth: recursive

Get your token here: https://sleepdata.org/token Your input is hidden while entering token. Enter your token: AUTHORIZED as

Finished in 1.8321012 seconds.

0 folders created, 0 files downloaded, 0 MiBs downloaded, 0 files skipped, 0 files failed

=> nil

irb(main):017:0>

NSRR version is 8.0.0

Ruby version is latest version

313 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · about 1 month ago

Thanks for using the site. What happens if you run the nsrr download shhs command? Try it without entering the gem console.

7 posts
Was this reply useful? Learn more...
 
[-]
JaHyungKoo +0 points · about 1 month ago

Thank you for reply comments. I try not your answer but I operate command " -nsrr download shhs/polusomnography/edfs --fresh". it is same download process above your recommend answer about " nsrr download shhs?

313 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · about 1 month ago

I ran the command "nsrr download shhs/polysomnography/edfs --fresh" and it worked.

Please post a screenshot if you don't get the same result.

7 posts
Was this reply useful? Learn more...
 
[-]
JaHyungKoo +0 points · about 1 month ago

Thanks for your comment for my questions. Okay, I will post a screenshot about problems.

7 posts
Was this reply useful? Learn more...
 
[-]
JaHyungKoo +0 points · about 1 month ago

I have two question about downloading data.

if I type "nsrr download shhs/polysomnography/edfs/shh2", I would find the program which is stopped on "shhs2-205205.edf"

Could I re-download to starting at "shhs2-205205.edf"?

So I find nsrr download shhs/polysomnography/edfs/shhs2 --fast

is it right command?

313 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · about 1 month ago

Yes, I think running with the "--fast" flag should work. You can't tell the gem to start at a specific file; it still needs to run through all the prior files and compare filesizes.