Skip to content

Commit 8f0f767

Browse files
authored
need str typecast
ok...
1 parent 067c99c commit 8f0f767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/bids.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def get_formatted_scans_key_row(dcm_fn):
429429
row = [acq_time, perfphys, randstr]
430430
# empty entries should be 'n/a'
431431
# https://github.com/dartmouth-pbs/heudiconv/issues/32
432-
row = ['n/a' if not e else e for e in row]
432+
row = ['n/a' if not str(e) else e for e in row]
433433
return row
434434

435435

0 commit comments

Comments
 (0)