Open arnodelorme opened 4 years ago
EDIT: Looking back at this after a while it took me a time to see what's wrong: In participants.tsv, the participant_id column contains subj-, not sub-
The issue I see here is that with a given participants.tsv
, the validator should parse the participant_id
column and use each row to populate a list subject_ids
.
Then it should take the list subject_ids
and assert that each entry corresponds to an existing directory at the BIDS root.
...
This new "feature" also has a flip side:
The validator should find all sub-<label>
directories at the BIDS root, and collect them into a list.
Then it should go to participants.tsv
and assert that each item from the list is represented by a single row (using the participant_id
column)
Actually, a check for this is in place here:
using this function:
and this issue code:
the question is ... why is it not triggered? Any idea @rwblair ?
For example
While the folder were named
sub-07xxxxxxxx
,sub-08a85ac6aa
andsub-08xxxxxxxx
This passed the validator no problem (validator from Jan 31, 2020).