Skip to content

(DRAFT/placeholder) get_metadata destiny  #1096

@yarikoptic

Description

@yarikoptic

With #1076 in its current form ATM we have following uses for get_metadata

$> git grep '[^.]get_metadata(' | grep -v 'def '
dandi/cli/cmd_ls.py:                    rec = get_metadata(path)
dandi/metadata.py:    metadata = get_metadata(nwb_path)  # within nwb2asset
dandi/organize.py:                meta = get_metadata(path)

which I would like to discuss on either / how should be addressed. So pretty much we have three uses left and an aspect is either they should operate on files bound to some dandiset or should be usable outside of any dandiset.
.... TODO: more to come

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions