Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GUI Reference

The web-based GUI provides the same functionality as the CLI — submitting jobs, editing config files, monitoring results — through an interactive dashboard.

neuropipe-gui                 # default port 8050
neuropipe-gui --port 8051     # if 8050 is already in use

Open http://localhost:8050 in your browser. The GUI has three top-level tabs:

TabPurpose
Analysis ControlConfigure and submit pipeline jobs
Project ConfigCreate and edit config files
Job MonitorQuery job status, check outputs, generate reports

Typical workflow

For a first run:

  1. Project Config → create or load your {project}_config.yaml

  2. Analysis Control → select subjects, fill in paths, choose tasks, click Generate Command, then Execute Pipeline

  3. Job Monitor → Database Configuration → click Sync Database after jobs finish

  4. Job Monitor → Output File Check → verify outputs per subject

  5. Job Monitor → Generate Report → produce HTML summary report

For re-runs after failures: go back to Analysis Control, enable Resume Mode, and click Execute Pipeline again.


Analysis Control

Analysis Control tab

This tab is the GUI equivalent of neuropipe run. Configure everything here and click Execute Pipeline to submit.

Config Directory

The config directory must be set before task options (Intermed, BIDS, Staged) can populate. Enter the path to your config/ folder, then choose one of two actions:

Subject Selection

Two ways to specify subjects:

Auto-detect from directory — enter the directory containing your subject folders and set the prefix (default sub-), then click Detect Subjects. The pipeline scans the directory and populates the subject list automatically.

Manual entry — type subject IDs directly in the comma-separated field (e.g. 001,002,003 or sub-001,sub-002). Both formats are accepted — the prefix is stripped automatically.

Pipeline Configuration

Analysis Control tab2

Fill in the four path fields (Input, Output, Work, Project Name) and Session ID. These map directly to the --input, --output, --work, --project, and --session flags of neuropipe run.

Task selection is broken into cards by pipeline type:

CardEquivalent CLI flagSelection type
Preprocessing--prepRadio buttons (None / Unzip / Recon / Unzip+Recon)
Intermed Processing--intermedCheckboxes (one per configured intermed task)
BIDS Pipelines--bids-prep / --bids-postCheckboxes for prep and post independently
Staged Pipelines--staged-prep / --staged-postCheckboxes for prep and post independently
Quality Control--mriqcRadio buttons (None / Individual / Group / All)

Available options are populated automatically from config.yaml — any task sections you add there will appear here without code changes.

Execution Control

Analysis Control tab
OptionDefaultEquivalent CLI flag
Dry RunOn--dry-run
Resume ModeOff--resume
Skip Preflight ChecksOff--skip-preflight
Skip BIDS ValidationOff--skip-bids-validation

Dry Run is enabled by default — click Execute Pipeline won’t submit anything until you uncheck it. This prevents accidental submissions.

Two buttons:

After clicking Execute Pipeline, the execution status area shows:

Command Preview

Shows the exact neuropipe run command that would be (or was) executed. Copy this to reproduce the run from the CLI, save it for your records, or share it for debugging.

DAG Visualization

Analysis Control tab

A live dependency graph that updates as you change task selections. Nodes are color-coded by pipeline type:

ColorPipeline type
OrangePreprocessing
GreenIntermed
BlueBIDS pipelines
TealStaged pipelines
PurpleQuality Control

Use Reset View to re-center the graph and Download PNG to save it as an image.


Project Config

This tab has four sub-tabs for editing the four config files that drive the pipeline.

Project Config sub-tab

Config1

Enter a project name and the path auto-fills to config/project_config/{project}_config.yaml. Two entry points:

Edit the YAML directly in the editor, then:

See Project Config Guide for field-by-field documentation.

Results Check Config sub-tab

Config2

Edit the output check rules used by Resume Mode and check-outputs. Enter your project name to load or create {project}_checks.yaml inside <config-dir>/results_check/.

The editor hints show both supported check types (required_files with optional min_size_kb, and count_check with expected_count ± tolerance). See Output Checks Config for syntax details.

Global Pipeline Config sub-tab

Config3

Load, edit, validate, and save config/config.yaml directly. Use this when adding a new task section or adjusting resource limits.

HPC Config sub-tab

Config4

Edit config/hpc_config.yaml — scheduler selection, resource profiles, and SLURM/PBS flag templates. See HPC Config.


Job Monitor

The database path and work directory are set once at the top and shared across all three tabs.

Database tab

Database1

Two database maintenance actions:

See Merge Logs Implementation for when to use each.

Query tab

Database2Database3

Wrapper Script Inspector — look up the exact wrapper script submitted for any job. Filter by task name and/or job ID (leave blank for the most recent). Shows all exported environment variables, module load commands, and the exact script call — useful for reproducing or debugging a specific submission.

Query Builder — query the job database directly without writing SQL. Select a query type and apply filters:

Query typeTable queriedUse for
Job Statusjob_statusPer-subject success/failure, durations, errors
Command Outputscommand_outputsCaptured stdout/stderr for each script run
Pipeline Executionspipeline_executionsHistory of all neuropipe run invocations
Wrapper Scriptswrapper_scriptsSubmitted wrapper content per job

Filter by subject, session, task name, status, and date range. Click Execute Query to run.

Results appear as a visualization panel (charts based on query type) and a paginated table. Export CSV saves the current query results to a file.

QA & Report tab

Database4

Output File Check — runs check-outputs from the GUI. Enter project name, subject list, optional task filter, session, and prefix, then click Run Output Check. Results appear inline. Export Check CSV saves the full per-subject results, equivalent to the CSV saved by neuropipe check-outputs.

Generate Report — generates a standalone HTML report from the job database. Enter the project name and optionally a session and check results CSV path (auto-detected if left blank). The output path defaults to next to the database file. See Post-Run Verification for a description of report sections.

generate_report