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.2rc49.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.2rc49.post1-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bidscycle-0.0.2rc49.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.2rc49.post1.tar.gz
Algorithm Hash digest
SHA256 23b0cc9cc91dad0e247b1554a657451982b21a7ebd41d7362d90f31bd6b89c6f
MD5 2681197d80cc626ab2ceba62b5c78da6
BLAKE2b-256 eea44d17bd4e14386f67734b3c4d64da3271af8bf452e5b3008cd70646363e80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bidscycle-0.0.2rc49.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 b885b0bb46e2fab79aaca1d95310d62f1aecf9fb4f569d0435d1e6c4ccb3954f
MD5 391c14136980b0ae6978977010bc4119
BLAKE2b-256 676a7d9364cd4310e948fd39920e0c5e0c639750eeb4b8cf8165b327eb7d0131

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