fixed bug for table data without labels in header

This commit is contained in:
Bret Dunlap 2015-03-11 20:39:14 +00:00
parent de29524189
commit 3f340ffac9
1 changed files with 3 additions and 1 deletions

View File

@ -92,7 +92,9 @@ for name in filenames:
'croak':sys.stderr}
file['croak'].write('\033[1m'+scriptName+'\033[0m: '+file['name']+'\n')
table = damask.ASCIItable(file['input'],file['output'],buffered=False) # make unbuffered ASCII_table
table = damask.ASCIItable(file['input'],file['output'],
buffered = False,
labels = options.label != None) # make unbuffered ASCII_table
table.head_read() # read ASCII header info
# --------------- figure out column to process -----------------------------------------------------