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.

switch-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.2.tar.gz (12.4 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.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file bidscycle-0.0.2.tar.gz.

File metadata

  • Download URL: bidscycle-0.0.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for bidscycle-0.0.2.tar.gz
Algorithm Hash digest
SHA256 22e84a64288381edf61882230faffad2be4ccf33b3c8c8b9bb76b7d484f242fd
MD5 b9b0dd7d1c384e05e217511f4ddf58f7
BLAKE2b-256 e5b6e934a6a14d6e2fad07ca8ecdf83aa530fcf11c7aa9569f619c05dbb1106d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bidscycle-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for bidscycle-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 92523560dc116ad3fada6f27eefcf50a40ee020bee38bd12f57fce7ea3111855
MD5 3b1e1e710e0a7cf2fd87c79b66d4c396
BLAKE2b-256 f2b14e283bbe6599a901e18677347aff9c5f3a7b56c7060eab7de4f6844ee2b0

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