bidsaid.audit
bidsaid.files
bidsaid.events
bidsaid.logging
bidsaid.io
replace_ext()
bidsaid.path_utils
bidsaid.metadata
bidsaid.parsers
bidsaid.qc
bidsaid.simulate
Replaces extension of a filename.
str
Path
The path to the file.
The new extension.
Filename with new extension.
>>> replace_ext("file.nii.gz", ".json") "file.json"