switched to string.format() method

This commit is contained in:
Philip Eisenlohr 2016-07-29 17:49:29 -04:00
parent afff0b8614
commit 0bbf54e0e4
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ for name in filenames:
# ------------------------------------------ assemble header --------------------------------------
table.info_append(scriptID + '\t' + ' '.join(sys.argv[1:]))
table.labels_append(['%i_Cauchy'%(i+1) for i in xrange(9)]) # extend ASCII header with new labels
table.labels_append(['{}_Cauchy'.format(i+1) for i in xrange(9)]) # extend ASCII header with new labels
table.head_write()
# ------------------------------------------ process data ------------------------------------------