Open sappelhoff opened 3 weeks ago
I suppose that the logic here ultimately boils down to "every _ieeg.*
data file MUST have an associated electrodes.tsv
", but is this a transitive case, where _ieeg.*
files need an associated _channels.tsv
and each iEEG _channels.tsv
file needs an associated _electrodes.tsv
? Is it possible to have a common channels.tsv
inherited but electrodes.tsv
be subject-specific?
In any event, this will require adding electrodes
to the context.associations
object:
Then the rule would simply be type(associations.electrodes) != "null"
. If we want to make rules about the contents of electrodes, those will need to go further and define specific contents of electrodes
.
As discussed in the issue above ☝️, the
electrodes.tsv
file should be made REQUIRED for the iEEG modality. If it is impossible for a researcher to supply electrode coordinates (which would be saved inelectrodes.tsv
), then they may fill the cells withn/a
.