clarified help text.
This commit is contained in:
parent
4448187c1e
commit
cb42fb9c5d
|
@ -14,7 +14,8 @@ scriptName = os.path.splitext(scriptID.split()[1])[0]
|
|||
# --------------------------------------------------------------------
|
||||
|
||||
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [file[s]]', description = """
|
||||
Replace all rows of a column by a single row containing their average.
|
||||
Replace all rows for which the indicator column has identical values by a single row containing their average.
|
||||
Output table will contain as many rows as there are different (unique) values in the indicator column.
|
||||
|
||||
Examples:
|
||||
For grain averaged values, replace all rows of particular #texture# with a single row containing their average.
|
||||
|
@ -23,7 +24,7 @@ For grain averaged values , replace all rows of particular #texture# with a sing
|
|||
parser.add_option('-l','--label', dest='key', type="string", metavar='label',
|
||||
help='column label for averaging rows [%default]')
|
||||
|
||||
parser.set_defaults(key = [])
|
||||
parser.set_defaults(key = None)
|
||||
|
||||
(options,filenames) = parser.parse_args()
|
||||
|
||||
|
|
Loading…
Reference in New Issue