Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions config/config_cogms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,44 +95,52 @@ post_convert_fixes:
- name: remove_rois
pattern: "anat/*ROI1.*"
action: remove
- name: add_num_shots_sa2rage

- name: remove_scans_tsv
pattern: "*scans.tsv"
action: remove

- name: sa2rage_metadata
pattern: "fmap/*TB1SRGE.json"
action: update_json
updates:
NumberShots: "placeholder"
- name: add_num_shots_mp2rage
NumberShots: 1
RepetitionTimeExcitation: 0.002
RepetitionTimePreparation: 2.4

- name: mp2rage_metadata
pattern: "anat/*inv-*MP2RAGE.json"
action: update_json
updates:
NumberShots: "placeholder"
NumberShots: 1 # Single-shot
RepetitionTimeExcitation: 0.0079 # Echo spacing from the protocol pdf
RepetitionTimePreparation: 6

- name: phase_units
pattern: "*/*part-phase*.json"
action: update_json
updates:
Units: rad

- name: phase_units_
pattern: "*/*phase.json"
action: update_json
updates:
Units: rad

- name: remove_dupe_t1maps
pattern: "*/*run-*_*T1map.nii.gz"
action: remove_duplicate_niftis

- name: remove_dupe_t1w
pattern: "*/*run-*_*T1w.nii.gz"
action: remove_duplicate_niftis

- name: remove_dupe_mp2rage
pattern: "*/*run-*_*MP2RAGE.nii.gz"
action: remove_duplicate_niftis









bidsignore:
- '*_acq-b1Div_*'
- '*_b1DivImg.*'
Expand Down