-
Notifications
You must be signed in to change notification settings - Fork 28
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
download: support for downloading multiple URLs at once; dandiset path is now included in the report #1231
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #1231 +/- ##
==========================================
+ Coverage 89.14% 89.21% +0.06%
==========================================
Files 74 74
Lines 9446 9597 +151
==========================================
+ Hits 8421 8562 +141
- Misses 1025 1035 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
yeah, I am not sure yet either, might have a look tomorrow with a fresh'ier eye. But we have another conundrum to resolve I ran into right away. When pointed to multiple datasets, we have ❯ dandi download DANDI:00002{7,9}
PATH SIZE DONE DONE% CHECKSUM STATUS MESSAGE
dandiset.yaml done updated
sub-RAT123/sub-RAT123.nwb 18.8 kB 18.8 kB 100% ok done
sub-anm369964/sub-anm369964_behavior+ecephys.nwb 7.7 MB 7.7 MB 100% ok done
sub-anm369962/sub-anm369962_behavior+ecephys.nwb 6.6 MB 6.6 MB 100% ok done
sub-anm369963/sub-anm369963_behavior+ecephys.nwb 6.4 MB 6.4 MB 100% ok done
Summary: 20.7 MB 20.7 MB 5 done 1 updated
+18.8 kB 99.91%
ETA: 6 seconds I guess we are doomed to uniformize (regardless if multiple URLs are given or not) this to the paths as they are to appear on local drive, hence in this case with dandiset prefixed, i.e. smth like
|
BTW, while at it, if you feel you see how to "just" RF it to parallelize within out code instead of |
Closes #1217.
Note that I'm not sure about whether the aggregating iterator works correctly, as when I tried downloading multiple URLs at once, the aggregate stats were only shown once the program finished. At least one problem is that
it.finished
will be briefly true between URLs.