Skip to content

Commit 85a718b

Browse files
committed
fix: indentation
1 parent ea29352 commit 85a718b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

heudiconv/dicoms.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ def group_dicoms_into_seqinfos(files, file_filter, dcmfilter, grouping):
7777
try:
7878
mw.dcm_data.ProtocolName
7979
except AttributeError:
80-
if not getattr(mw.dcm_data, 'ProtocolName', '').strip():
81-
mw.dcm_data.ProtocolName = parse_private_csa_header(mw.dcm_data, 'ProtocolName', 'tProtocolName') \
82-
if mw.is_csa else ''
80+
if not getattr(mw.dcm_data, 'ProtocolName', '').strip():
81+
mw.dcm_data.ProtocolName = parse_private_csa_header(
82+
mw.dcm_data, 'ProtocolName', 'tProtocolName'
83+
) if mw.is_csa else ''
8384

8485
try:
8586
series_id = (int(mw.dcm_data.SeriesNumber),

0 commit comments

Comments
 (0)