Skip to content

Ambiguity about how to deal with inherited tsv contents #337

Open
@tyarkoni

Description

@tyarkoni

When discussing inheritance, the spec says this:

Any metadata file (.json, .bvec, .tsv, etc.) may be defined at any directory level, but no more than one applicable file may be defined at a given level (Example 1). The values from the top level are inherited by all lower levels unless they are overridden by a file at the lower level.

This is fine for JSON, but it's not obvious if/whether it also applies to TSV files. What's the expected interpretation here? Is it that only the first TSV file is valid, and the rest are disregarded? Or that the contents of the TSV files should be merged, with events defined at lower levels taking precedence over those at higher levels in the case of matching timing information?

The latter seems like the more sensible approach for at least events.tsv files, and I would like to preserve the ability to specify events at multiple levels (consider, e.g., a case where all participants get the same stimulus sequence, but responses are recorded separately for each run). But this requires some detail about the expected implementation... e.g., which columns define a unique event? For events.tsv, is it the combination of onset and duration, and trial_type? This should all go in the spec.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions