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:
Philip Eisenlohr 2011-02-01 13:13:05 +00:00
parent d6edb64929
commit 958c51fc26
1 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ def average(theList):
# 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
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'.