bids.layout.writing

Contains helper functions that involve writing operations.

Functions

build_path(entities, path_patterns[, strict])

Constructs a path given a set of entities and a list of potential filename patterns to use.

write_contents_to_file(path[, contents, …])

Uses provided filename patterns to write contents to a new path, given a corresponding entity map.