https://github.com/hbclab/renameoldfmriprep

rename the old fmriprep (< v1.2.0) files

https://github.com/hbclab/renameoldfmriprep

Science Score: 8.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
    Organization hbclab has institutional domain (psychology.uiowa.edu)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.3%) to scientific vocabulary
Last synced: 8 months ago · JSON representation

Repository

rename the old fmriprep (< v1.2.0) files

Basic Info
  • Host: GitHub
  • Owner: HBClab
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 16.6 KB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 7 years ago · Last pushed over 6 years ago

https://github.com/HBClab/renameOldFMRIPREP/blob/master/

# Rename Old FMRIPREP (< v1.2.0) files

This script updates the names of _some_ of the fmriprep files.
Currently I'm ignoring figures.
Ideally, I will be covering all anatomical and functional image outputs.

## Quickstart

1. clone this repository

```bash
git clone https://github.com/HBClab/renameOldFMRIPREP.git
```

2. install the requirements

```bash
pip install -r requirements.txt
```

3. run the command help

```bash
./rename_old_fmriprep/conform_fmriprep.py -h
```

4. run the command on your data

```bash
./rename_old_fmriprep/conform_fmriprep.py \
    -i /path/to/old/fmriprep \
    -o /path/to/new/fmriprep \
    -d /path/to/dataset/description/dataset_description.json
```

The `dataset_description.json` is a json file that contains
information about the dataset and the fmriprep version you ran
previously

```python
{
    "Name": "test_data",
    "BIDSVersion": "1.0.0",
    "PipelineDescription": {"Name": "fmriprep", "Version": "1.1.8"}
}
```

Now your data _should_ be bids derivatives compliant!

Please let me know if something does not work properly in [the issues](https://github.com/HBClab/renameOldFMRIPREP/issues)

Owner

  • Name: Health, Brain, & Cognition Lab
  • Login: HBClab
  • Kind: organization

GitHub Events

Total
Last Year