Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add age reference attribute #525

Merged
merged 7 commits into from
Aug 16, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions core/nwb.file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,13 @@ groups:
dtype: text
doc: Age of subject. Can be supplied instead of 'date_of_birth'.
quantity: '?'
attributes:
- name: reference
doc: "Age is with reference to this event. Can be 'birth' or
'gestational'. If reference is omitted, 'birth' is implied."
rly marked this conversation as resolved.
Show resolved Hide resolved
dtype: text
required: false
bendichter marked this conversation as resolved.
Show resolved Hide resolved
default: birth
bendichter marked this conversation as resolved.
Show resolved Hide resolved
- name: date_of_birth
dtype: isodatetime
doc: Date of birth of subject. Can be supplied instead of 'age'.
Expand Down