From 3c5df0a4a43f5ddabb0c17a49e50d9474c5cf1ee Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Fri, 4 Jan 2019 16:34:04 -0500 Subject: [PATCH] [skip ci] viewTable acknowledges requested output type(s) --- processing/post/viewTable.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/processing/post/viewTable.py b/processing/post/viewTable.py index c01bdcddb..309f229e1 100755 --- a/processing/post/viewTable.py +++ b/processing/post/viewTable.py @@ -61,7 +61,14 @@ for name in filenames: table = damask.ASCIItable(name = name, buffered = False, labeled = options.labeled, readonly = True) except: continue - damask.util.report(scriptName,name) + details = ', '.join( + (['header'] if options.table else []) + + (['info'] if options.head or options.info else []) + + (['labels'] if options.head or options.labels else []) + + (['data'] if options.data else []) + + [] + ) + damask.util.report(scriptName,name + ('' if details == '' else ' -- '+details)) # ------------------------------------------ output head ---------------------------------------