Skip to documentation
PREPARE MY DATA

LMBC User Guide

0.1.0.dev0Development documentation

First dry-run

This tutorial checks installation and creates an inspectable processing plan without external imaging tools or participant downloads.

1. Create synthetic inputs

After installation, run from the repository root:

python examples/documentation/make_demo.py /tmp/lmbc-tutorial-bids

The example creates small random NIfTI arrays, JSON, and demographics. These are not brain images and cannot validate preprocessing or biology. The script refuses to overwrite an existing directory.

2. Generate the plan

lmbc /tmp/lmbc-tutorial-bids /tmp/lmbc-tutorial-output participant \
  --participant-label demo --dry-run --write-graph

Expect exit code 0, a run UUID, one participant, and one processing unit. A dataset without ses-* still has a processing unit.

3. Inspect the record

/tmp/lmbc-tutorial-output/logs/<run_uuid>/
    config.toml
    dataset_index.json
    environment.json
    plan.json
    manifest.json
    graph.dot
    lmbc.log
    events.jsonl

manifest.json should contain status: dry_run_complete. Check participants and files in dataset_index.json, then dependencies, blocking reasons, and expected artifacts in plan.json. Planned report nodes do not mean that reports have been generated. This tutorial produces no segmentation, surfaces, MIND, or normative scores.

4. Understand the execution boundary

Omitting --dry-run in this planner returns LMBC-WF-001 with exit code 69. For real images, choose a workflow in the adult Docker run guide.