pipeio_registry_scan should support mod grouping hints¶
Observed: pipeio_registry_scan creates 1:1 rule→mod mappings (every Snakemake rule becomes its own mod). This is wrong for flows where multiple rules form a conceptual group (e.g., parse+clean = "parse" mod, preprocess+epochs+summary = "preprocess" mod).
During the preprocess_motion flow creation, the scanner generated 12 mods from 12 rules. Had to manually edit registry.yml to consolidate into 5 mods (detect, parse, kinematics, preprocess, plot).
Expected: Either:
1. Support a mods.yml or mods: section in config.yml that declares the grouping, which registry_scan respects
2. Or infer grouping from rules/*.smk files (rules in the same .smk = one mod)
3. Or at minimum, don't overwrite manually edited mod groupings on re-scan
Source context: pixecog¶
PixEcog (pixecog): Neuropixels and ECoG dataset and analysis
Recent commits:
0f7168f [DATALAD] Added subdataset
740ebbb [DATALAD] Recorded changes
9ca941d [DATALAD] Recorded changes
README:
type: readme
Quick Start for Collaborators¶
Follow this checklist to get started with Pixecog documentation and workflows.
🐀 Pixecog Project — Compact Overview¶
Core principles
- One immutable BIDS raw dataset (
raw/) as the canonical baseline - Each analysis pipeline ha
Related Notes¶
- issue-arash-20260408-041843-212992.md — Same tool (pipeio_registry_scan), different behavioral bug — has_docs always false; both are registry_scan correctness issues
- issue-arash-20260410-145955-796957.md — pipeio_flow_new auto-registration request directly involves registry_scan and the same flow creation workflow where mod grouping problems surfaced
- issue-arash-20260410-150432-267829.md — pipeio-flow-create skill development — the skill would need to handle mod grouping hints as part of the flow scaffolding workflow