added "--sort" option extending the existing sorting according due to "--separation". This is, for instance, useful for separating /elementhomogeneous/ results by element and later listing the results along x,y,z...
This commit is contained in:
parent
d6edb64929
commit
958c51fc26
|
@ -356,7 +356,7 @@ def average(theList):
|
||||||
# calcs the average of a list of numbers
|
# calcs the average of a list of numbers
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
|
|
||||||
return sum(map(float,theList))/len(theList)
|
return sum(map(float,theList))/len(theList)
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
|
@ -569,7 +569,7 @@ def SummarizePostfile(stat,where=sys.stdout):
|
||||||
# --- input parsing
|
# --- input parsing
|
||||||
|
|
||||||
parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """
|
parser = OptionParser(option_class=MyOption, usage='%prog [options] resultfile', description = """
|
||||||
Extract data from a .t16 MSC.Marc results file.
|
Extract data from a .t16 (MSC.Marc) or .spectralOut results file.
|
||||||
|
|
||||||
List of output variables is given by options '--ns','--es','--et','--ho','--cr','--co'.
|
List of output variables is given by options '--ns','--es','--et','--ho','--cr','--co'.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue