Skip to content

dandi ls on bids .zarr directory name : 'NoneType' object has no attribute 'items' #1038

@yarikoptic

Description

@yarikoptic
(git-annex)lena:~/proj/dandi/dandisets/000108[draft]git
$> DANDI_CACHE=ignore dandi ls sub-MITU01/ses-20210521h17m17s06/micr/sub-MITU01_ses-20210521h17m17s06_sample-178_stain-NN_run-1_chunk-1_SPIM.ome.zarr
- errors: 1
  path: sub-MITU01/ses-20210521h17m17s06/micr/sub-MITU01_ses-20210521h17m17s06_sample-178_stain-NN_run-1_chunk-1_SPIM.ome.zarr
2022-06-30 16:39:13,717 [ WARNING] Failed to operate on some paths (empty records were listed):
 AttributeError: 1 paths
2022-06-30 16:39:13,718 [    INFO] Logs saved in /home/yoh/.cache/dandi-cli/log/20220630203911Z-3420683.log

and in the log I see

2022-06-30T16:39:13-0400 [DEBUG   ] dandi 3420683:140027539093312 Failed to get metadata for sub-MITU01/ses-20210521h17m17s06/micr/sub-MITU01_ses-20210521h17m17s06_sample-178_stain-NN_run-1_chunk-1_SPIM.ome.zarr: No dandiset at sub-MITU01/ses-20210521h17m17s06/micr/sub-MITU01_ses-20210521h17m17s06_sample-178_stain-NN_run-1_chunk-1_SPIM.ome.zarr
2022-06-30T16:39:13-0400 [DEBUG   ] dandi 3420683:140027539093312 Problem obtaining metadata for sub-MITU01/ses-20210521h17m17s06/micr/sub-MITU01_ses-20210521h17m17s06_sample-178_stain-NN_run-1_chunk-1_SPIM.ome.zarr: 'NoneType' object has no attribute 'items'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions