Skip to content

Commit 122a923

Browse files
committed
CLN: Cleanup whitespace and formatting
1 parent acc659a commit 122a923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nibabel/nicom/csareader.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ def write(csa_header):
188188
result.append(csa_header['unused0'])
189189
if not 0 < csa_header['n_tags'] <= 128:
190190
raise CSAWriteError('Number of tags `t` should be '
191-
'0 < t <= 128')
191+
'0 < t <= 128')
192192
result.append(struct.pack('2I',
193193
csa_header['n_tags'],
194194
csa_header['check'])
195-
)
195+
)
196196

197197
# Build list of tags in correct order
198198
tags = list(csa_header['tags'].items())
@@ -212,7 +212,7 @@ def write(csa_header):
212212
tag_dict['syngodt'],
213213
n_items,
214214
tag_dict['last3'])
215-
)
215+
)
216216

217217
# Figure out the number of values for this tag
218218
if vm == 0:
@@ -242,7 +242,7 @@ def write(csa_header):
242242
if item_no < vm:
243243
items.append('')
244244
break
245-
else: # CSA2
245+
else: # CSA2
246246
x1 = item_len
247247
result.append(struct.pack('4i', x0, x1, x2, x3))
248248

0 commit comments

Comments
 (0)