BIDSPARTICIPANTS(1)
π BIDSPARTICIPANTS π
okay so this is a page from the Generated Python Manual β yes bestie, that's the manual name, we're fancy like that π
β and it's all about a little tool called bidsparticipants. Let's get into it.
β¨ NAME β¨
bidsparticipants β that's it, that's the name, iconic π«Ά
πΈ SYNOPSIS πΈ
bidsparticipants [-h] [-d] [-b NAME] sourcefolder bidsfolder
π¦ DESCRIPTION π¦
So here's the vibe: it (re)scans the data sets in the sourcefolder looking for subject metadata, and then it uses that to populate the participants.tsv file over in the bids directory. When do you need this? Like, whenever you've been messing around in the bids folder yourself β renamed stuff (be careful there! π), added stuff, deleted stuff. It comes through and fixes the participants file back up for you. π
Provenance information, warnings and error messages all get stashed in the bidsfolder/code/bidscoin/bidsparticipants.log file, so if something's giving suspicious, that's where you go snooping. π
Here are the two folder args, bestie:
- sourcefolder β the study root folder containing the raw source data folders π±
- bidsfolder β the destination/output folder with the bids data π¦
π OPTIONS π
-d,--dryrunβ do not save anything, only print the participants info on screen. Nothing gets written, it's just a lil preview moment. π-bNAME,--bidsmapNAME β the study bidsmap file with the mapping heuristics. Now listen closely: if the bidsmap filename is just the base name (i.e. there's no/in the name), then it's assumed to be located in the current directory or inbidsfolder/code/bidscoin. Default:bidsmap.yamlπ
π COMMENTS π
examples, because sometimes you just need to see it:
bidsparticipants myproject/raw myproject/bids
bidsparticipants myproject/raw myproject/bids -b mybidsmap
π AUTHOR π
Marcel Zwiers <m.zwiers@donders.ru.nl> β the legend, the moment, the main character π
And that's the whole page, bestie β this was bidscoin 4.6.2, dated 2025-11-06, and honestly? Slay. β¨ Go populate those participants.tsv files. Byeee π¦π
π¦ where this page comes from
- fedora 43: bidscoin 4.6.2-1.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms