Skip to content

Commit 3877f13

Browse files
bpinsardyarikoptic
andauthored
Update heudiconv/convert.py
Co-authored-by: Yaroslav Halchenko <[email protected]>
1 parent 78140ef commit 3877f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def filter_partial_volumes(
877877
"""
878878
# dcm2niix sets metadata "RawImage": false and "SeriesNumber" += 1000 to mark partial volumes
879879
# https://github.com/rordenlab/dcm2niix/blob/f6d7a0018d9d268ed1d084faafdedfadcbbb830b/console/nii_dicom.cpp#L8434-L8437
880-
# following that logic until https://github.com/nipy/heudiconv/pull/828 gets resolved
880+
# following that logic until https://github.com/rordenlab/dcm2niix/issues/972 is addressed
881881
partial_volumes = [
882882
not metadata.get("RawImage", True)
883883
and metadata.get("SeriesNumber", 0) > 1000

0 commit comments

Comments
 (0)