dandi / dandi-cli

DANDI command line client to facilitate common operations
https://dandi.readthedocs.io/
Apache License 2.0
19 stars 24 forks source link

--digest zarr-checksum incorrectly identifies directory as "empty" #926

Closed yarikoptic closed 2 years ago

yarikoptic commented 2 years ago
(git)lena:~/proj/dandi/dandi-cli-master[master]git
$> dandi digest --digest zarr-checksum dandi
2022-02-25 13:57:48,587 [    INFO] Logs saved in /home/yoh/.cache/dandi-cli/log/20220225185747Z-698970.log
Error: Cannot compute a Zarr checksum for an empty directory

$> ls dandi
__init__.py   conftest.py  dandiarchive.py  due.py         metadata.py     support/   validate/
__pycache__/  consts.py    dandiset.py      exceptions.py  misctypes.py    tests/     validate.py
_version.py   core/        delete.py        files.py       organize.py     upload.py
cli/          dandiapi.py  download.py      keyring.py     pynwb_utils.py  utils.py

$> dandi --version
0.36.0+4.gf467fe8
jwodder commented 2 years ago

@yarikoptic What if you use the gh-915 branch (PR #923)?

yarikoptic commented 2 years ago

cool -- that works, thanks! will close this issue with it too then ;)