Refactor scan manifest semantics to canonical scans.tsv with long-form entity columns and participant metadata flow#12
Conversation
scans.tsv, deprecate dataset_id, and add participant-level metadata flow
|
@copilot: the subject column and participant_id column now duplicate each other. |
|
@copilot: don't worry about keeping backwards compatibility for deprecated variables/names, this code is still alpha and can have major api changes.. you can just remove any trace of things like dataset_id. also would be good to replace the shorthand names for the column headers (eg sub -> subject, ses -> session, acq -> acquisition), keeping track of the short and long form names so the short ones can still be used when constructing filenames, but long ones used for column headers to improve readability. |
Done in af4b20e (+ follow-up fixes 84f6ffe, 3b6990d, 44891df). Deprecated scan aliases/compatibility paths were removed, and scans headers now use long names ( |
scans.tsv, deprecate dataset_id, and add participant-level metadata flowscans.tsv with long-form entity columns and participant metadata flow
SPIMpack used
datasets.tsvfor scan-level rows, which conflicted with BIDS “dataset” semantics and overloaded metadata responsibilities. This PR makesscans.tsvthe canonical scan manifest, removes deprecated scan-manifest aliases in alpha, and introduces participant-level metadata ingestion/output viaparticipants.tsv.Canonical scan manifest (alpha simplification)
scans.tsvas the canonical scan manifest file.datasets_tsv/datasets.tsvcompatibility handling.Removal of deprecated scan-level fields/aliases
dataset_id.Participant-level metadata support
participants.tsvingestion with requiredparticipant_id.subjectas the canonical participant linkage inscans.tsvwhen participants are supplied.participants.tsv.Long-form scan TSV entity headers for readability
scans.tsv:subject,session,sample,acquisition.sub,ses,acqtokens in paths).BIDS output alignment
participants.tsvfrom participant metadata when provided.UI + docs migration updates
scans.tsv,scans_tsv).scans.tsvand long-form scan headers.