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

ls WiP: tried to add filtering and {}formating with alt names #1118

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 26, 2022

  1. ls WiP: tried to add filtering and {}formating with alt names

    Example is quite neatly working for remote dandiset
    
    	(git)lena:~/proj/dandi/dandi-cli-master[master]git
    	$> dandi --pdb ls -F 'path,size,ID=={metadata[id]}' -f pyout -r --metadata assets dandi://dandi/000029@draft/
    	PATH                                             SIZE    ID
    	000029                                           20.7 MB DANDI:000029/draft
    	sub-anm369964/sub-anm369964_behavior+ecephys.nwb 7.7 MB  dandiasset:689d7c0c-d980-462e-9a56-3df87efc9658
    	sub-RAT123/sub-RAT123.nwb                        18.8 kB dandiasset:86e09d7e-4355-4887-9c5a-7a137c046953
    	sub-anm369962/sub-anm369962_behavior+ecephys.nwb 6.6 MB  dandiasset:4f6a8f1d-ca04-491f-a530-9ed00a909c21
    	sub-anm369963/sub-anm369963_behavior+ecephys.nwb 6.4 MB  dandiasset:38f2024d-62a9-4c79-8a22-7a0ff34b331d
    	Summary:                                         41.4 MB
    
    but for the local one with all the async fields we do not get it and crashes
    etc.
    yarikoptic committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    8bccbf5 View commit details
    Browse the repository at this point in the history