Skip to content

Commit 250ccf8

Browse files
hbraunDSPeffigies
andauthored
Update nibabel/nicom/csareader.py
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent 19aa459 commit 250ccf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nicom/csareader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def read(csa_str):
100100
csa_dict['n_tags'], csa_dict['check'] = up_str.unpack('2I')
101101
if not 0 < csa_dict['n_tags'] <= MAX_CSA_ITEMS:
102102
raise CSAReadError('Number of tags `t` should be '
103-
'0 < t <= %s' % MAX_CSA_ITEMS)
103+
'0 < t <= %d' % MAX_CSA_ITEMS)
104104
for tag_no in range(csa_dict['n_tags']):
105105
name, vm, vr, syngodt, n_items, last3 = \
106106
up_str.unpack('64si4s3i')

0 commit comments

Comments
 (0)