AllenNeuralDynamics / AllenNeuralDynamics/aind-subject-nwb

Why does this capsule only contains a subset of subject metadata

オープン
#12 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

This capsule loads the subject.json metadata file, then copies some to the NWB file

```
subject = Subject(
subject_id=subject_read.subject_id,
species=subject_read.species,
sex=subject_read.sex,
date_of_birth=subject_read.date_of_birth,
age=subject_read.age,
genotype=subject_read.genotype,
description=subject_read.description,
strain=subject_read.strain,
)
```

For one example data asset, the subject.json looks like:
```
{
"describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/subject.py",
"schema_version": "0.5.5",
"subject_id": "708031",
"sex": "Female",
"date_of_birth": "2023-10-18",
"genotype": "Slc6a3-IRES-Cre_Bkmn/wt",
"species": {
"name": "Mus musculus",
"abbreviation": null,
"registry": {
"name": "National Center for Biotechnology Information",
"abbreviation": "NCBI"
},
"registry_identifier": "10090"
},
"alleles": [],
"background_strain": null,
"breeding_info": {
"breeding_group": "Slc6a3-IRES-Cre_Bkmn(ND)",
"maternal_id": "688248",
"maternal_genotype": "wt/wt",
"paternal_id": "686321",
"paternal_genotype": "Slc6a3-IRES-Cre_Bkmn/wt"
},
"source": {
"name": "Allen Institute",
"abbreviation": "AI",
"registry": {
"name": "Research Organization Registry",
"abbreviation": "ROR"
},
"registry_identifier": "03cpe7c52"
},
"rrid": null,
"restrictions": null,
"wellness_reports": [],
"housing": {
"cage_id": "8251646",
"room_id": "221",
"light_cycle": null,
"home_cage_enrichment": [],
"cohoused_subjects": []
},
"notes": null
}
```

Why not include all information in the metadata file in the NWB file? Why not just append the metadata file into the NWB?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。