FIXMETA(1)
π FIXMETA(1) β bestie edition π
Generated Python Manual β¨ ok so listen up, this is fixmeta(1) and she is that girl π
β¨ NAME β¨
fixmeta β the little bidsapp that goes in and β¨fixesβ¨ your metadata. no cap.
πΈ SYNOPSIS πΈ
fixmeta [-h] [-p LABEL [LABEL ...]] [-b NAME] bidsfolder pattern metadata
π¦ DESCRIPTION π¦
Okay so, fixmeta is a bidsapp that can change or add metadata in BIDS data repositories. Like, it literally goes into your BIDS folder and edits the metadata for you. obsessed. π
And bestie, the glow-up doesn't stop there β the fixmeta app supports the use of special bidsmap features, such as dynamic values to use source data attributes or properties, or to populate IntendedFor and B0FieldIdentifier/B0FieldSource values. iykyk π
the three little arguments that run the whole show π«Ά
bidsfolderβ The BIDS root directory that needs fixing. and yes bestie, this happens in place π so it's not making a cute little copy somewhere, it's editing the real thing. be brave.patternβ A globlike recursive search pattern (relative to the subject/session folder) that selects the json sidecar targets that need to be fixed, e.g.'*task-*echo-1*'. so like, it's the vibe check for which files get touched πmetadataβ A dictionary with key-value pairs of the metadata that needs to be fixed. Here's the tea on how it behaves, and this part matters:- If the value is a string, then this metadata is written to the sidecars as is. simple, no drama, periodt.
- But if it's a list of
old/newstrings, i.e.[old1, new1, old2, new2, ..], then the existing metadata is re-written, with all occurrences of the substringoldreplaced bynew. it's giving find-and-replace but make it metadata π
π OPTIONS π
-p LABEL [LABEL ...],--participant LABEL [LABEL ...]β A space separated list of sub-# identifiers to be processed (thesub-prefix can be left out, you're welcome π). If not specified then all participants will be processed. she's thorough like that.-b NAME,--bidsmap NAMEβ Selects a custom study bidsmap file for extracting source data properties and attributes. If the bidsmap filename is just the base name (i.e. no"/"in the name) then it is assumed to be located in the current directory or inbidsfolder/code/bidscoin. Default:bidsmap.yamlor else the template bidsmap. β¨
π COMMENTS π
okay bestie here are the examples, and honestly they ate π₯ look at these:
fixmeta myproject/bids func/*task-reward1* '{"TaskName": "Monetary reward paradigm 1"}'
fixmeta myproject/bids *acq-reward1* '{"B0FieldIdentifier": ["<<", "_", ">>", ""], "B0FieldSource": ["<<", "_", ">>", ""]}'
fixmeta myproject/bids fmap/*run-2* '{"IntendedFor": "<<task/*run-2*_bold*>>"}' -p 001 003
like look at that third one β selecting fmap/*run-2*, populating IntendedFor, and only doing participants 001 and 003. main character energy fr fr π
π AUTHOR π
Marcel Zwiers <m.zwiers@donders.ru.nl> β ty for your service legend π«Ά
and that's the whole page, bestie!! this was bidscoin 4.6.2 generated on 2025-11-06 π go fix that metadata, you got this, mwah πβ¨
π¦ 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