Skip to content

Commit 7062ecd

Browse files
author
Monika_Utrosa_Skerjanec
committed
resolve BIDS validation errors
1 parent 479add2 commit 7062ecd

6 files changed

Lines changed: 212 additions & 52 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ All scripts ran by main_xxx.sh are located in .../scripts except for fMRIprep pr
2020
--> These folders are untouched by next steps to ensure replicable pipeline.
2121
2. Check that data is complete and correctly named.
2222
3. Run pre_import.py to create sidecar files, needed for config file.
23-
4. Set up the config file for BIDSifying MRI data with `dcm2bids`. The configuration doesn't have to include the headscouts and the phoenix ZIP report.
23+
4. Set up the config file for BIDSifying MRI data with `dcm2bids`. The configuration doesn't have to include the headscouts and the phoenix ZIP report. Validate the config.json file: https://jsonlint.com/.
2424
5. Add "dataset_description.json" file to data_MRI/sourcedata/raw
2525
6. Remove any duplicate data.
2626
7. Run [BIDS Validator](http://bids.neuroimaging.io/tools/validator.html) on the dataset to ensure compliance to [the BIDS specification](https://bids-specification.readthedocs.io/en/stable/).

import_localizer.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ source activate localizer_fMRI
1010

1111
# Subject-specific parameters
1212
subID=1
13-
sesID=1
13+
sesID=3
1414
project="SubCort_HighRes"
1515
task="localizer"
16-
homePath='/home/mutrosa/Documents/projects/select_fMRI'
17-
acq_list=("DresdenNoFat" "DresdenWFat" "ME1TR880" "ME3TR1600" "ME3TR1100" "ME3TR850" "ME3TR700")
18-
# acq_list=("DresdenNoFat175" "DresdenWFat175" "ME1TR780" "ME3TR1180" "ME3TR770" "ME3TR680")
16+
homePath="/home/mutrosa/Documents/projects/select_fMRI"
17+
# acq_list=("DresdenNoFat" "DresdenWFat" "ME1TR880" "ME3TR1600" "ME3TR1100" "ME3TR850" "ME3TR700")
18+
acq_list=("DresdenNoFat175" "DresdenWFat175" "ME1TR780" "ME3TR1180" "ME3TR770" "ME3TR680")
1919

2020
# STEP 0
2121
## Generate sidecar files to set up the configuration files.

pre_import.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
# 1. Adjust parameters for your subject/session
77
# Activate the correct conda environment: conda activate dcm2bids
8-
subID = 2
9-
sesID = 2
8+
subID = 1
9+
sesID = 1
1010
project = "SubCort_HighRes"
1111
homePath = '/home/mutrosa/Documents/projects/select_fMRI/data_MRI/'
1212

0 commit comments

Comments
 (0)