Skip to content

ln2t/bidsrename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

python bidsrename bids_dir original_id new_id [--dry-run]

bids_dir is a BIDS dataset, original_id is the original id to change (already present in the dataset) and new_id is the new id (non-existent in the dataset). Add --dry-run to actually skip any renaming - for verification/debugging purposes. We recommend always start with a dry-run and check that the output is consistent with what you expect.

Caution: the old data are not suppressed by this script, it only copies it. Also, it does not edit the participants.tsv file. So you always have to manually delete the old data and edit the participants.tsv file.

About

Rename your subject in a BIDS dataset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages