AllenNeuralDynamics / AllenNeuralDynamics/aind-metadata-manager

Need a way to add tags to data-description. For use by automation-capsule when capturing results

未关闭
#53 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

**Is your feature request related to a problem? Please describe.**
The metadata-manager can't add `tags` to the derived `data_description.json`. It only carries over tags already present on the source asset — it can't originate one — so pipelines/automation have no way to stamp tags when capturing results.

**Describe the solution you'd like**
Add a `tags` setting (CLI arg) to the metadata-manager that writes to `DataDescription.tags` on the derived output. Perhaps as a list of strs? that append in addition to the default raw/derived and subject_id.

**Describe alternatives you've considered**
- Pre-tagging the raw asset's `data_description.json`. A good solution, but the metadata manager should still have this capability.

**Additional context**
`DataDescription.tags: Optional[List[str]]` already exists and `DerivedDataDescription.from_data_description` already honors it via `get_or_default("tags")`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。