PHENOTYPE_SUBJECTS_MISSING issue
Hello,
I've run into what might be an edge case. I have one participant with missing imaging data but questionnaires filled in. This participant is thus present in the phenotype folder and participants.tsv. This raises the error PHENOTYPE_SUBJECTS_MISSING when running the BIDS validator. Maybe there is something that I am missing, but it seems like the validator does not expect this scenario.
Hi @JonteP, this may be of interest to you:
- https://github.com/bids-standard/bids-specification/issues/914
Is this an issue in the current (schema) validator?
Yes. It is also causing errored validation on my old OpenNeuro dataset ds004215 (now ds005752). In our case there are 1,608 subjects with survey (phenotype/) data, but without sub-*/ directory data.
@ericearl My understanding is that this needs to be resolved in the specification (and schema). https://github.com/bids-standard/bids-specification/issues/914 is where this needs to be finalized.
My reading is that we came to a position that seemed to work, and nobody objected, but a PR was never opened.
With the rule as written at the bottom, I don't think the expression language can express that rule yet, but we can figure that out.
@effigies Cool, I will work on a PR to the spec now.
PR added here: https://github.com/bids-standard/bids-specification/pull/2044.