Skip to content

pipeio_config_read bids_signatures show bids() calls, not resolved path patterns

Summary

  • pipeio_config_read shows bids() call signatures in bids_signatures but not the resolved filename patterns. Makes target path construction guesswork.

Context

  • The config stores snakebids bids() calls (e.g. bids(root="preproc", suffix="ieeg", extension=".vhdr"))
  • What the agent needs is the resolved pattern: derivatives/preproc/sub-{sub}/ses-{ses}/sub-{sub}_ses-{ses}_suffix-ieeg.vhdr
  • pipeio_target_paths (new tool) now provides this via the pattern mode, which may partially address this
  • Consider whether pipeio_config_read should also include resolved patterns alongside the raw bids() signatures

Possible fixes

  • [ ] Enrich pipeio_config_read output to include resolved path templates from PipelineContext.pattern()
  • [ ] Or document that pipeio_target_paths (no entities) is the way to get patterns