Skip to content

Commit d7bc5c2

Browse files
committed
correct coding style
1 parent 5a7fb1f commit d7bc5c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/heudiconv

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -484,12 +484,12 @@ def group_dicoms_into_seqinfos(
484484

485485
if dcminfo.get([0x18,0x24], None):
486486
# GE and Philips scanners
487-
SequenceName = dcminfo[0x18,0x24].value
487+
sequence_name = dcminfo[0x18,0x24].value
488488
elif dcminfo.get([0x19, 0x109c], None):
489489
# Siemens scanners
490-
SequenceName = dcminfo[0x19, 0x109c].value
490+
sequence_name = dcminfo[0x19, 0x109c].value
491491
else:
492-
SequenceName = 'Not found'
492+
sequence_name = 'Not found'
493493

494494
info = SeqInfo(
495495
total,
@@ -507,7 +507,7 @@ def group_dicoms_into_seqinfos(
507507
dcminfo.get('StudyDescription'),
508508
refphys,
509509
dcminfo.get('SeriesDescription'),
510-
SequenceName,
510+
sequence_name,
511511
image_type,
512512
accession_number,
513513
# For demographics to populate BIDS participants.tsv

0 commit comments

Comments
 (0)