Skip to content
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

dandi download dandi://…/dandiset.yaml now downloads dandiset.yaml #1384

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

jwodder
Copy link
Member

@jwodder jwodder commented Dec 21, 2023

Closes #1383.

Note that this feature only applies to dandi:// URLs, as GUI and API URLs cannot refer to a specific asset by path in the first place.

Note that this re-interpretation of dandi:// URLs only happens when downloading and not when a dandi://…/dandiset.yaml URL is supplied to a move, delete, ls, or reextract-metadata command (I think those are all the places that dandi:// URLs are accepted), as it wouldn't make sense for most of those.

@jwodder jwodder added minor Increment the minor version when merged cmd-download labels Dec 21, 2023
Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cb00a7c) 88.50% compared to head (c4a3828) 88.58%.
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1384      +/-   ##
==========================================
+ Coverage   88.50%   88.58%   +0.08%     
==========================================
  Files          77       77              
  Lines       10471    10480       +9     
==========================================
+ Hits         9267     9284      +17     
+ Misses       1204     1196       -8     
Flag Coverage Δ
unittests 88.58% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yarikoptic
Copy link
Member

Thank you @jwodder !

@yarikoptic yarikoptic merged commit 4d725d2 into master Dec 21, 2023
28 checks passed
@yarikoptic yarikoptic deleted the gh-1383 branch December 21, 2023 16:24
Copy link

github-actions bot commented Jan 9, 2024

🚀 PR was released in 0.59.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmd-download minor Increment the minor version when merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

provide support for download of dandiset.yaml alone
2 participants