Skip to content

Commit 8a1a024

Browse files
author
DBIC BIDS Team
committed
one rename, and also for fmap AP-PA SE sequences DIFFUSION should be marked as epi according to BIDS
1 parent 0e8860f commit 8a1a024

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

heuristics/dbic_bids.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@
114114
('hardi_64', 'dwi_acq-DTI-hardi64'),
115115
('acq-hardi', 'acq-DTI-hardi'),
116116
],
117+
'ed20c1ad4a0861b2b65768e159258eec':
118+
[
119+
('fmap_acq-discorr-dti-', 'fmap_acq-dwi_dir-'),
120+
],
117121
}
118122
keys2replace = ['protocol_name', 'series_description']
119123

@@ -379,7 +383,8 @@ def infotodict(seqinfo):
379383
if seqtype == 'fmap' and not seqtype_label:
380384
seqtype_label = {
381385
'M': 'magnitude', # might want explicit {file_index} ?
382-
'P': 'phasediff'
386+
'P': 'phasediff',
387+
'DIFFUSION': 'epi', # according to KODI those DWI are the EPIs we need
383388
}[image_data_type]
384389

385390
# label for dwi as well

0 commit comments

Comments
 (0)