Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bidscycle-0.0.2rc50.post1.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bidscycle-0.0.2rc50.post1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

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

Hashes for bidscycle-0.0.2rc50.post1.tar.gz
Algorithm Hash digest
SHA256 55dd215e48e6eb4966e1e2682cdc9bdb15908bcfadfc4d7608b0d047ba4d92ee
MD5 9c4c1a3e3fe8b47dbe4f243f4e03f5b7
BLAKE2b-256 c01666d6e7e3d70e512b23db00deab509218fdce2d4efc4dc8f421a09ffa61b7

See more details on using hashes here.

File details

Details for the file bidscycle-0.0.2rc50.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for bidscycle-0.0.2rc50.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 f63b0b94ddace34d87598a145be2aad0c0724fad23a01ebc95c27e7f6623bd69
MD5 035c9add963d57d3baf376ca38d4e3b3
BLAKE2b-256 632cad93a70e20dc7cd05ca5ceea7adca260f3209d7874b28fe0604fe78b56eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page