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 件 担当者 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 を短くまとめたダイジェスト。