You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automated Boutiques descriptor creation for neuroimaging pipelines #72
Automated Boutiques descriptor creation for neuroimaging pipelines
Short description and the goals for the OHBM BrainHack
Boutiques is a framework to describe (and execute) command-line tools. Pipelines described with a Boutiques descriptor JSON file can easy be integrated with downstream projects like Nipoppy and NiWrap. Automating the creation of descriptors and shipping them directly with pipelines (e.g. following the BIDS App execution spec) can make them much more widely available than they currently are.
Unfortunately, it is currently not always straightforward to create and maintain Boutiques descriptors for a given pipeline.
This project aims to create an easy-to-use tool that can enable (BIDS App or other) pipeline developers to:
easy (automatically) create an up-to-date Boutiques descriptor for the current version of their pipeline (provided it is written with Python and uses argparse.ArgumentParser for its CLI)
Then by running the chris_plugin_info command (which is installed by the chris_plugin package), you get a JSON file containing project metadata (author, license, etc.) and a list of its command-line arguments, e.g.
{
"parameters": [
{
"name": "example",
"type": "str",
"optional": false,
"flag": "--name",
"short_flag": "-n",
"action": "store",
"help": "The help text of some CLI parameter.",
"default": null,
"ui_exposed": true
},
],
"authors": "Example <example@example.org>",
"license": "MIT",
"version": "0.1.3"
}
Activity
jennydaman commentedon Jun 11, 2026
This project idea is similar to something I've worked on for the ChRIS project.
It's a Python decorator which accepts an
argparse.ArgumentParserobject, e.g.Then by running the
chris_plugin_infocommand (which is installed by thechris_pluginpackage), you get a JSON file containing project metadata (author, license, etc.) and a list of its command-line arguments, e.g.{ "parameters": [ { "name": "example", "type": "str", "optional": false, "flag": "--name", "short_flag": "-n", "action": "store", "help": "The help text of some CLI parameter.", "default": null, "ui_exposed": true }, ], "authors": "Example <example@example.org>", "license": "MIT", "version": "0.1.3" }Ref: https://fnndsc.github.io/chris_plugin/