bids-validator
bids-validator copied to clipboard
phenotype doesn't appear to allow more than one assessment.
I am using [email protected] to validate fnirs_automaticity in bids-examples. It validates. However, when I add a second assessment such as in phenotype.zip it gives the following error:
1: [ERR] A phenotype/ .tsv file lists subjects that were not found in the dataset. (code: 51 - PHENOTYPE_SUBJECTS_MISSING) ./phenotype/practicelogbookA.tsv Evidence: Subjects 06, 06, 06, 06, 06, 06, 10, 10, 10, 10, 10, 10, 19, 19, 19, 19, 19, 21, 21, 21, 21, 21, 27, 27, 27, 27, 27, 27, 31, 31, 31, 31, 31, 31, 33, 33, 33, 33, 33, 33, 34, 34, 34, 34, 43, 43, 43, 43, 43, 43, 52, 52, 52, 52, 52, 52, 52, 53, 53, 53, 53, 63, 63, 63, 63, 67, 67, 67, 67, 69, 69, 69, 69, 74, 74, 74, 74, 74, 75, 75, 75, 75, 75, 77, 77, 77, 77, 77, 77, 84, 84, 84, 84, 84, 84, 87, 87, 87, 87, 87, 87, 88, 88, 88, 88, 88, 88, 88, 88, 90, 90, 90, 90 were found in phenotype/ .tsv file but are not present in the folder structure.
Also note, that if the assessment has participant_id values that do not correspond to actual participants, no warning message is given.
seems related to:
- https://github.com/bids-standard/bids-specification/issues/914
Another related validation issue is that when the dataset has sessions, multiple lines for the same subject in a phenotype file (such as in the attached file for eeg_ds003645s_hed_demo) does not validate. This doesn't seem to be problem when the dataset doesn't have sessions.