corrected help
This commit is contained in:
parent
a69ba8e7b1
commit
d239cab3ae
|
@ -12,7 +12,7 @@ scriptID = ' '.join([scriptName,damask.version])
|
||||||
# MAIN
|
# MAIN
|
||||||
#--------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [file[s]]', description = """
|
parser = OptionParser(option_class=damask.extendableOption, usage='%prog [file[s]]', description = """
|
||||||
Adds header to OIM grain file to make it accesible as ASCII table
|
Adds header to OIM grain file to make it accesible as ASCII table
|
||||||
|
|
||||||
""", version = scriptID)
|
""", version = scriptID)
|
||||||
|
|
|
@ -13,7 +13,7 @@ scriptID = ' '.join([scriptName,damask.version])
|
||||||
# MAIN
|
# MAIN
|
||||||
#--------------------------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
parser = OptionParser(option_class=damask.extendableOption, usage='%prog [geomfile[s]]', description = """
|
parser = OptionParser(option_class=damask.extendableOption, usage='%prog [angfile[s]]', description = """
|
||||||
Convert TSL/EDAX *.ang file to ASCIItable
|
Convert TSL/EDAX *.ang file to ASCIItable
|
||||||
|
|
||||||
""", version = scriptID)
|
""", version = scriptID)
|
||||||
|
@ -30,7 +30,7 @@ for name in filenames:
|
||||||
outname = os.path.splitext(name)[0]+'.txt' if name else name,
|
outname = os.path.splitext(name)[0]+'.txt' if name else name,
|
||||||
buffered = False, labeled = False)
|
buffered = False, labeled = False)
|
||||||
except: continue
|
except: continue
|
||||||
table.croak('\033[1m'+scriptName+'\033[0m'+(': '+name if name else ''))
|
damask.util.report(scriptName,name)
|
||||||
|
|
||||||
# --- interpret header -----------------------------------------------------------------------------
|
# --- interpret header -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue