-
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
Do fail (raise Exception, CLI has non-0 exit) download if any of downloads fail #1536
Conversation
dandi/download.py
Outdated
# if is_access_denied(exc) or attempt >= 2: | ||
# raise |
Check notice
Code scanning / CodeQL
Commented-out code Note
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1536 +/- ##
==========================================
+ Coverage 88.46% 88.53% +0.06%
==========================================
Files 78 78
Lines 10718 10737 +19
==========================================
+ Hits 9482 9506 +24
+ Misses 1236 1231 -5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Otherwise it is hard-to-impossible to script using "dandi download" reliably
09dcf7a
to
9b3f2fb
Compare
Thanks @yarikoptic. I am not sure that I am the best person to review these changes since I am not too familiar with this codebase. I will request a review from @jwodder. |
John wouldn't be able to review until Wed or may be even later... to not delay -- let's just proceed, I am feeling it should be ok. |
🚀 PR was released in |
Sits on top of #1535