BIDSPARTICIPANTS(1)

πŸ“¦
version 4.6.2 Β· 2 versions
, in fedora 43

πŸŽ€ 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. πŸ‘€
  • -b NAME, --bidsmap NAME β€” 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 in bidsfolder/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