[skip ci] viewTable acknowledges requested output type(s)
This commit is contained in:
parent
bcd4288f1e
commit
3c5df0a4a4
|
@ -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 ---------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue