pybids icon indicating copy to clipboard operation
pybids copied to clipboard

Default path_pattern for build_path?

Open kinleyid opened this issue 2 months ago • 1 comments

It seems like BIDS already defines the path_pattern argument to bids.layout.writing.build_path. Perhaps this should be the default? Or a get_default_path_pattern(modality) function could be defined to get defaults for different modalities?

kinleyid avatar Sep 30 '25 14:09 kinleyid

This would need to be done from the schema. @astewartau has started on building a configuration from the schema in https://github.com/bids-standard/pybids/pull/1163. Building the path patterns from the file rules would be a definite improvement over the current method of updating them manually.

effigies avatar Sep 30 '25 14:09 effigies