Skip to content

Commit 035d975

Browse files
authored
Merge pull request #2126 from effigies/fix/pheno-hed
feat: Define phenotype/*.tsv in schema, add HED to modality agnostic tables
2 parents 07f29eb + 1ec02ba commit 035d975

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/schema/rules/tabular_data/modality_agnostic.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Participants:
1515
handedness: recommended
1616
strain: recommended
1717
strain_rrid: recommended
18+
HED: optional
1819
index_columns: [participant_id]
1920
additional_columns: allowed
2021

@@ -42,6 +43,7 @@ Scans:
4243
description_addendum: |
4344
There MUST be exactly one row for each file.
4445
acq_time__scans: optional
46+
HED: optional
4547
index_columns: [filename]
4648
additional_columns: allowed
4749

@@ -58,5 +60,17 @@ Sessions:
5860
There MUST be exactly one row for each session.
5961
acq_time__sessions: optional
6062
pathology: recommended
63+
HED: optional
6164
index_columns: [session_id]
6265
additional_columns: allowed
66+
67+
Phenotype:
68+
selectors:
69+
- datatype == 'phenotype'
70+
initial_columns:
71+
- participant_id
72+
columns:
73+
participant_id: required
74+
HED: optional
75+
index_columns: [participant_id]
76+
additional_columns: allowed

0 commit comments

Comments
 (0)