From e367dc1f59211966d4f0e827854856c57c4fc212 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 15 Apr 2026 15:41:16 -0400 Subject: [PATCH 1/2] DOC: fix up specification of Units for genetics_ukbb to be years MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looking at the data suggests that it is very unlikely to be months since capped at 89+ and for ukb it was not on toddlers ❯ head -n 6 genetics_ukbb/participants.tsv participant_id age sex group genetic_id IDH BatchID VariationSetType Assembly GeneticDataType sub-01 48 M patient 125425 yes b001 CNV hg38 SNP_intensity sub-02 60 M control 125698 no b001 CNV hg38 SNP_intensity sub-03 72 M patient 452589 yes b002 SNV/CNV hg19/hg38 WES/SNP_intensity sub-04 84 F patient 325478 no b002 CNV hg38 SNP_intensity sub-05 89+ M control 623589 yes b002 SNV/CNV hg19/hg38 WES/SNP_intensity --- genetics_ukbb/participants.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genetics_ukbb/participants.json b/genetics_ukbb/participants.json index a84f9c87a..3b73ba6b4 100644 --- a/genetics_ukbb/participants.json +++ b/genetics_ukbb/participants.json @@ -2,7 +2,7 @@ "age": { "LongName": "age", "Description": "age of the participant", - "Units": "month" + "Units": "year" }, "sex": { "LongName": "sex", From 8d253cedefd20439a93aa9530cbd29156fa23187 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 16 Apr 2026 09:04:35 -0400 Subject: [PATCH 2/2] [DATALAD RUNCMD] 'Units' value must be singular, not plural (year not years) Overall specification and testing is proposed for this in https://github.com/bids-standard/bids-specification/pull/2400 === Do not change lines below === { "chain": [], "cmd": "bash -c 'sed -i -E '\"'\"'s,(Units.: .year)s,\\1,g'\"'\"' {outputs}'", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [ "*/participants.json" ], "pwd": "." } ^^^ Do not change lines above ^^^ --- 7t_trt/participants.json | 2 +- ds000246/participants.json | 2 +- ds000247/participants.json | 2 +- ds000248/participants.json | 2 +- ds001/participants.json | 2 +- ds002/participants.json | 2 +- ds003/participants.json | 2 +- ds005/participants.json | 2 +- ds006/participants.json | 2 +- ds007/participants.json | 2 +- ds009/participants.json | 2 +- eeg_cbm/participants.json | 2 +- eeg_ds003645s_hed_demo/participants.json | 2 +- eeg_ds003645s_hed_library/participants.json | 2 +- eeg_matchingpennies/participants.json | 2 +- eeg_rishikesh/participants.json | 2 +- emg_ConcurrentIndependentUnits/participants.json | 2 +- emg_CustomBipolar/participants.json | 2 +- emg_CustomBipolarFace/participants.json | 2 +- emg_IndependentMod/participants.json | 2 +- emg_MultiBodyParts/participants.json | 2 +- emg_Multimodal/participants.json | 2 +- emg_TwoHDsEMG/participants.json | 2 +- emg_TwoWristbands/participants.json | 2 +- fnirs_automaticity/participants.json | 2 +- fnirs_tapping/participants.json | 2 +- ieeg_epilepsy/participants.json | 2 +- ieeg_epilepsyNWB/participants.json | 2 +- ieeg_epilepsy_ecog/participants.json | 2 +- ieeg_visual_multimodal/participants.json | 2 +- mrs_biggaba/participants.json | 2 +- pet002/participants.json | 2 +- pheno004/participants.json | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/7t_trt/participants.json b/7t_trt/participants.json index a0c05a7fe..3e52e589a 100644 --- a/7t_trt/participants.json +++ b/7t_trt/participants.json @@ -16,7 +16,7 @@ }, "age_at_first_scan_years": { "LongName": "age_at_first_scan_years", - "Units": "years" + "Units": "year" }, "handedness": { "LongName": "Edinburgh Handedness Inventory", diff --git a/ds000246/participants.json b/ds000246/participants.json index 56b24a593..80d085716 100644 --- a/ds000246/participants.json +++ b/ds000246/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds000247/participants.json b/ds000247/participants.json index 56b24a593..80d085716 100644 --- a/ds000247/participants.json +++ b/ds000247/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds000248/participants.json b/ds000248/participants.json index de061dfc2..3dbfd7898 100644 --- a/ds000248/participants.json +++ b/ds000248/participants.json @@ -4,7 +4,7 @@ }, "age": { "Description": "Age of the participant at time of testing", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Biological sex of the participant", diff --git a/ds001/participants.json b/ds001/participants.json index bb34c6e01..ab39814f5 100644 --- a/ds001/participants.json +++ b/ds001/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds002/participants.json b/ds002/participants.json index bb34c6e01..ab39814f5 100644 --- a/ds002/participants.json +++ b/ds002/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds003/participants.json b/ds003/participants.json index bb34c6e01..ab39814f5 100644 --- a/ds003/participants.json +++ b/ds003/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds005/participants.json b/ds005/participants.json index bb34c6e01..ab39814f5 100644 --- a/ds005/participants.json +++ b/ds005/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds006/participants.json b/ds006/participants.json index bb34c6e01..ab39814f5 100644 --- a/ds006/participants.json +++ b/ds006/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds007/participants.json b/ds007/participants.json index bb34c6e01..ab39814f5 100644 --- a/ds007/participants.json +++ b/ds007/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Sex of the participant", diff --git a/ds009/participants.json b/ds009/participants.json index d5120b33c..d681a82f0 100644 --- a/ds009/participants.json +++ b/ds009/participants.json @@ -1,7 +1,7 @@ { "Age": { "LongName": "Age", - "Units": "years", + "Units": "year", "TermURL": "http://purl.obolibrary.org/obo/PATO_0000011" }, "Gender": { diff --git a/eeg_cbm/participants.json b/eeg_cbm/participants.json index 7346eb4dd..b650e32df 100644 --- a/eeg_cbm/participants.json +++ b/eeg_cbm/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "sex of the participant", diff --git a/eeg_ds003645s_hed_demo/participants.json b/eeg_ds003645s_hed_demo/participants.json index 66babf846..72a21f036 100644 --- a/eeg_ds003645s_hed_demo/participants.json +++ b/eeg_ds003645s_hed_demo/participants.json @@ -17,7 +17,7 @@ }, "age": { "Description": "Age of the subject", - "Units": "years", + "Units": "year", "HED": "Age/#" } } \ No newline at end of file diff --git a/eeg_ds003645s_hed_library/participants.json b/eeg_ds003645s_hed_library/participants.json index 4fbcc432d..a262af9ca 100644 --- a/eeg_ds003645s_hed_library/participants.json +++ b/eeg_ds003645s_hed_library/participants.json @@ -12,6 +12,6 @@ }, "age": { "Description": "Age of the subject", - "Units": "years" + "Units": "year" } } \ No newline at end of file diff --git a/eeg_matchingpennies/participants.json b/eeg_matchingpennies/participants.json index a962e16a6..b74959571 100644 --- a/eeg_matchingpennies/participants.json +++ b/eeg_matchingpennies/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "handedness": { "Description": "handedness of the participant as reported by the participant", diff --git a/eeg_rishikesh/participants.json b/eeg_rishikesh/participants.json index 941c1cb30..885af0e40 100644 --- a/eeg_rishikesh/participants.json +++ b/eeg_rishikesh/participants.json @@ -11,7 +11,7 @@ }, "age": { "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "group": { "Description": "group, expert or novice meditators", diff --git a/emg_ConcurrentIndependentUnits/participants.json b/emg_ConcurrentIndependentUnits/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_ConcurrentIndependentUnits/participants.json +++ b/emg_ConcurrentIndependentUnits/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/emg_CustomBipolar/participants.json b/emg_CustomBipolar/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_CustomBipolar/participants.json +++ b/emg_CustomBipolar/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/emg_CustomBipolarFace/participants.json b/emg_CustomBipolarFace/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_CustomBipolarFace/participants.json +++ b/emg_CustomBipolarFace/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/emg_IndependentMod/participants.json b/emg_IndependentMod/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_IndependentMod/participants.json +++ b/emg_IndependentMod/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/emg_MultiBodyParts/participants.json b/emg_MultiBodyParts/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_MultiBodyParts/participants.json +++ b/emg_MultiBodyParts/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/emg_Multimodal/participants.json b/emg_Multimodal/participants.json index fe080df37..f7c71075f 100644 --- a/emg_Multimodal/participants.json +++ b/emg_Multimodal/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Biological sex of the participant", diff --git a/emg_TwoHDsEMG/participants.json b/emg_TwoHDsEMG/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_TwoHDsEMG/participants.json +++ b/emg_TwoHDsEMG/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/emg_TwoWristbands/participants.json b/emg_TwoWristbands/participants.json index 9a6f51b13..417ea30ef 100644 --- a/emg_TwoWristbands/participants.json +++ b/emg_TwoWristbands/participants.json @@ -1,7 +1,7 @@ { "age": { "Description": "Age in years", - "Units": "years" + "Units": "year" }, "sex": { "Description": "self-reported sex, one of M, F, or O", diff --git a/fnirs_automaticity/participants.json b/fnirs_automaticity/participants.json index ec9bd3c2b..1bc62a40d 100644 --- a/fnirs_automaticity/participants.json +++ b/fnirs_automaticity/participants.json @@ -8,7 +8,7 @@ }, "age": { "Description": "age of the participant on the moment of participation", - "Units": "years" + "Units": "year" }, "haircolor": { "Description": "hair color as described by the Fischer-Saller scale", diff --git a/fnirs_tapping/participants.json b/fnirs_tapping/participants.json index de061dfc2..3dbfd7898 100644 --- a/fnirs_tapping/participants.json +++ b/fnirs_tapping/participants.json @@ -4,7 +4,7 @@ }, "age": { "Description": "Age of the participant at time of testing", - "Units": "years" + "Units": "year" }, "sex": { "Description": "Biological sex of the participant", diff --git a/ieeg_epilepsy/participants.json b/ieeg_epilepsy/participants.json index 543dff568..df70da3ee 100644 --- a/ieeg_epilepsy/participants.json +++ b/ieeg_epilepsy/participants.json @@ -2,7 +2,7 @@ "age": { "LongName": "age", "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "LongName": "sex", diff --git a/ieeg_epilepsyNWB/participants.json b/ieeg_epilepsyNWB/participants.json index 543dff568..df70da3ee 100644 --- a/ieeg_epilepsyNWB/participants.json +++ b/ieeg_epilepsyNWB/participants.json @@ -2,7 +2,7 @@ "age": { "LongName": "age", "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "LongName": "sex", diff --git a/ieeg_epilepsy_ecog/participants.json b/ieeg_epilepsy_ecog/participants.json index 543dff568..df70da3ee 100644 --- a/ieeg_epilepsy_ecog/participants.json +++ b/ieeg_epilepsy_ecog/participants.json @@ -2,7 +2,7 @@ "age": { "LongName": "age", "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "LongName": "sex", diff --git a/ieeg_visual_multimodal/participants.json b/ieeg_visual_multimodal/participants.json index 543dff568..df70da3ee 100644 --- a/ieeg_visual_multimodal/participants.json +++ b/ieeg_visual_multimodal/participants.json @@ -2,7 +2,7 @@ "age": { "LongName": "age", "Description": "age of the participant", - "Units": "years" + "Units": "year" }, "sex": { "LongName": "sex", diff --git a/mrs_biggaba/participants.json b/mrs_biggaba/participants.json index d039ecee0..524a655cf 100755 --- a/mrs_biggaba/participants.json +++ b/mrs_biggaba/participants.json @@ -11,6 +11,6 @@ }, "age": { "Description": "Age of the participant", - "Units": "years" + "Units": "year" } } diff --git a/pet002/participants.json b/pet002/participants.json index bb8c1e2fa..866964291 100644 --- a/pet002/participants.json +++ b/pet002/participants.json @@ -16,7 +16,7 @@ "age":{ "LongName":"Age", "Description":"Age of the participant", - "Units": "years" + "Units": "year" }, "gender":{ "LongName":"gender", diff --git a/pheno004/participants.json b/pheno004/participants.json index 8408853fd..b4f79239c 100644 --- a/pheno004/participants.json +++ b/pheno004/participants.json @@ -11,6 +11,6 @@ }, "age": { "Description": "Age of the participant.", - "Units": "years" + "Units": "year" } }