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.

Stanford dataset download fails

1 post
Was this reply useful? Learn more...
 
[-]
jshanna100 +0 points · over 2 years ago

Hello,

If I try to download the Stanford Technology Analytics and Genomics in Sleep database it simply downloads 0 files and then concludes.

Command: nsrr download stages/original/STAGES PSGs

Output: Get your token here: https://sleepdata.org/token Your input is hidden while entering token. Enter your token: AUTHORIZED as
File Check: md5 File Regex: // Depth: recursive

Finished in 0.582117242 seconds.

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

Could it be that the space between STAGES and PSGs is causing a problem here?

442 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 2 years ago

Yes, that is likely the reason. I'm hoping to have the issue looked at this weekend - https://github.com/nsrr/nsrr-gem/issues/24

442 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 2 years ago

Please update your gem (8.0.0) and give this another try! https://github.com/nsrr/nsrr-gem

The command shown on sleepdata.org will also wrap the path in quotes, e.g.

nsrr download "stages/original/STAGES PSGs"

Running this on gem 8.0.0 appears to be working for me.

Thanks for raising the issue here!