How demidenm/openneuro_glmfitlins works
OpenNeuro GLM Fitlins is a command-line workflow for preparing task-fMRI datasets, building and validating BIDS Stats Models, running FitLins, and producing group reports. The principal path is dataset details/download, event preprocessing, spec creation and validation, model fitting, then reporting; the README documents this stage order. The graph preserves QC and reporting capabilities as well. Edges are limited to documented workflow steps or relationships visible in the supplied excerpts and source index; unsampled implementation details are not inferred.
Main entry points: cli.py Workflow CLI · prep.py Event preparation · groupmap.py Group report · build.py Spec builder
Components 24
Configuration and intake
- Workflow CLI
src/openneuro_glmfitlins/cli.py - Path configuration
src/openneuro_glmfitlins/config.py - Dataset download
src/openneuro_glmfitlins/io/download.py - Study details
src/openneuro_glmfitlins/reports/details.py - BIDS metadata
src/openneuro_glmfitlins/io/bids.py
Event preparation
- Event preparation
src/openneuro_glmfitlins/events/prep.py - Dataset event fixes
src/openneuro_glmfitlins/events/registry.py - Event helpers
src/openneuro_glmfitlins/events/common.py - Event file checks
src/openneuro_glmfitlins/qc/file_checks.py
Model specification
- Spec builder
src/openneuro_glmfitlins/specs/build.py - Spec summary
src/openneuro_glmfitlins/specs/summary.py - Design graph checks
src/openneuro_glmfitlins/specs/graph.py - Spec validation
src/openneuro_glmfitlins/specs/validate.py
Model fitting
- FitLins runner
src/openneuro_glmfitlins/fit/fitlins.py
Quality and reporting
- Group report
src/openneuro_glmfitlins/reports/groupmap.py - Fit summary
src/openneuro_glmfitlins/reports/fit_summary.py - Report details
src/openneuro_glmfitlins/reports/details.py - Report plots
src/openneuro_glmfitlins/reports/plots.py - Report README
src/openneuro_glmfitlins/reports/readme.py - Map similarity QC
src/openneuro_glmfitlins/qc/similarity.py - Design VIF QC
src/openneuro_glmfitlins/qc/vif.py
Other components
- Analyst
- OpenNeuro data
- FitLins
Connections 26
- Analyst → Workflow CLI: runs commands
README.md - Workflow CLI → Path configuration: loads paths
src/openneuro_glmfitlins/cli.py - Workflow CLI → Dataset download: routes details
src/openneuro_glmfitlins/cli.py - Workflow CLI → Study details: routes details
src/openneuro_glmfitlins/cli.py - Dataset download → OpenNeuro data: downloads data
README.md - Study details → BIDS metadata: reads metadata
src/openneuro_glmfitlins/reports/details.py - Workflow CLI → Event preparation: routes events
src/openneuro_glmfitlins/cli.py - Event preparation → Dataset event fixes: gets fixer
src/openneuro_glmfitlins/events/prep.py - Event preparation → Event helpers: applies helpers
src/openneuro_glmfitlins/events/prep.py - Event preparation → BIDS metadata: reads layouts
src/openneuro_glmfitlins/events/prep.py - Event preparation → Event file checks: checks files
src/openneuro_glmfitlins/events/prep.py - Workflow CLI → Spec builder: routes spec
src/openneuro_glmfitlins/cli.py - Spec builder → Spec summary: uses summary
src/openneuro_glmfitlins/specs/build.py - Spec builder → Design graph checks: checks design
src/openneuro_glmfitlins/specs/build.py - Workflow CLI → Spec validation: routes validation
src/openneuro_glmfitlins/cli.py - Spec validation → Spec builder: checks spec
src/openneuro_glmfitlins/specs/validate.py - Workflow CLI → FitLins runner: routes fit
src/openneuro_glmfitlins/cli.py - FitLins runner → FitLins: runs model
README.md - Workflow CLI → Group report: routes report
src/openneuro_glmfitlins/cli.py - Group report → Spec summary: extracts model info
src/openneuro_glmfitlins/reports/groupmap.py - Group report → Map similarity QC: computes similarity
src/openneuro_glmfitlins/reports/groupmap.py - Group report → Design VIF QC: checks VIF
src/openneuro_glmfitlins/reports/groupmap.py - Group report → Report README: generates README
src/openneuro_glmfitlins/reports/groupmap.py - Report details → BIDS metadata: reads BIDS
src/openneuro_glmfitlins/reports/details.py - Report details → Report plots: creates plots
src/openneuro_glmfitlins/reports/details.py - Report details → Report README: generates README
src/openneuro_glmfitlins/reports/details.py