Skip to content

Commit 9569282

Browse files
committed
fix: remove scout special parsing
1 parent 3c989de commit 9569282

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

heudiconv/convert.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -563,13 +563,6 @@ def save_converted_files(res, item_dicoms, bids, outtype, prefix, outname_bids,
563563
)
564564
break
565565

566-
# For Scout runs with multiple NIfTI images per run:
567-
if bids and 'scout' in this_prefix_basename.lower():
568-
# in some cases (more than one slice slab), there are several
569-
# NIfTI images in the scout run, so distinguish them with "_acq-"
570-
spt = this_prefix_basename.split('_acq-Scout', 1)
571-
this_prefix_basename = "%s%s%s%s" % (spt[0], '_acq-Scout', suffix, spt[1])
572-
573566
# Fallback option:
574567
# If we have failed to modify this_prefix_basename, because it didn't fall
575568
# into any of the options above, just add the suffix at the end:

0 commit comments

Comments
 (0)