Easy BIDS compliant renaming of BIDS duplicates
Project description
BIDScycle
This project is a BIDS compatible tool for easy renaming of BIDS data.
Getting Started
To get started simply install using:
pip install bidscycle
or
pip install git+https://github.com/miltoncamacho/BIDScycle.git@main
for the bleading edge latest changes
Usage
usage: bidscycle [-h] {create-duplicates,switch-duplicate,clean-duplicates}
You will need to select from the different commands to perform:
create-duplicates
This command will help you create BIDS duplicates in any of the files that match the provided BIDS compatible filters.
usage: bidscycle create-duplicates [-h] -f entity=value[,value2] [--commit-msg COMMIT_MSG] [--dry-run] [--no-datalad] [-v] dataset
| Argument | Description |
|---|---|
dataset |
Absolute path to the dataset containing sub-XX folders. |
--filter,-f |
Entity filter in the format entity=value[,value2]. |
--commit-msg |
Optional commit message for saving the changes. |
--dry-run |
Perform a trial run without making any changes. |
--no-datalad |
Skip Datalad commands during execution. |
-v |
Enable verbose output for debugging purposes. |
switch-duplicates
usage: bidscycle switch-duplicates [-h] -f entity=value[,value2] [--commit-msg COMMIT_MSG] [--dry-run] [--no-datalad] [-v] dataset
| Argument | Description |
|---|---|
dataset |
Absolute path to the dataset containing sub-XX folders. |
--filter,-f |
Entity filter in the format entity=value[,value2] must contain dup. |
--commit-msg |
Optional commit message for saving the changes. |
--dry-run |
Perform a trial run without making any changes. |
--no-datalad |
Skip Datalad commands during execution. |
-v |
Enable verbose output for debugging purposes. |
clean-duplicates
usage: bidscycle clean-duplicates [-h] [-f entity=value[,value2]] --keep_pattern N[,N2] [--commit-msg COMMIT_MSG] [--dry-run] [--no-datalad] [-v] dataset
| Argument | Description |
|---|---|
dataset |
Absolute path to the dataset containing sub-XX folders. |
--filter,-f |
Entity filter in the format entity=value[,value2]. |
--keep_pattern |
Pattern(s) to keep (comma‑separated; e.g., '__dup-01'). |
--commit-msg |
Optional commit message for saving the changes. |
--dry-run |
Perform a trial run without making any changes. |
--no-datalad |
Skip Datalad commands during execution. |
-v |
Enable verbose output for debugging purposes. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bidscycle-0.0.2rc50.post1.tar.gz.
File metadata
- Download URL: bidscycle-0.0.2rc50.post1.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55dd215e48e6eb4966e1e2682cdc9bdb15908bcfadfc4d7608b0d047ba4d92ee
|
|
| MD5 |
9c4c1a3e3fe8b47dbe4f243f4e03f5b7
|
|
| BLAKE2b-256 |
c01666d6e7e3d70e512b23db00deab509218fdce2d4efc4dc8f421a09ffa61b7
|
File details
Details for the file bidscycle-0.0.2rc50.post1-py3-none-any.whl.
File metadata
- Download URL: bidscycle-0.0.2rc50.post1-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f63b0b94ddace34d87598a145be2aad0c0724fad23a01ebc95c27e7f6623bd69
|
|
| MD5 |
035c9add963d57d3baf376ca38d4e3b3
|
|
| BLAKE2b-256 |
632cad93a70e20dc7cd05ca5ceea7adca260f3209d7874b28fe0604fe78b56eb
|