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

phenotype doesn't appear to allow more than one assessment. #1874

Open
VisLab opened this issue Jan 3, 2024 · 2 comments
Open

phenotype doesn't appear to allow more than one assessment. #1874

VisLab opened this issue Jan 3, 2024 · 2 comments

Comments

@VisLab
Copy link
Member

VisLab commented Jan 3, 2024

I am using bids-validator@1.14.0 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.

@VisLab
Copy link
Member Author

VisLab commented Jan 24, 2024

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.

KSSSleep.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants