avoid doctring as argument

This commit is contained in:
chen 2016-10-14 10:42:03 -04:00
parent 07d9ef9ba1
commit 353b5b6994
1 changed files with 7 additions and 4 deletions

View File

@ -6,6 +6,7 @@ import damask
from vtk.util import numpy_support from vtk.util import numpy_support
from collections import defaultdict from collections import defaultdict
from optparse import OptionParser from optparse import OptionParser
from damask.h5table import lables_to_path
scriptName = os.path.splitext(os.path.basename(__file__))[0] scriptName = os.path.splitext(os.path.basename(__file__))[0]
scriptID = ' '.join([scriptName,damask.version]) scriptID = ' '.join([scriptName,damask.version])
@ -14,10 +15,12 @@ scriptID = ' '.join([scriptName,damask.version])
# MAIN # MAIN
# -------------------------------------------------------------------- # --------------------------------------------------------------------
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [file[s]]', description = """ msg = "Add scalars, vectors, and/or an RGB tuple from"
Add scalars, vectors, and/or an RGB tuple from an ASCIItable to existing VTK rectilinear grid (.vtr/.vtk). msg += "an ASCIItable to existing VTK rectilinear grid (.vtr/.vtk)."
parser = OptionParser(option_class=damask.extendableOption,
""", version = scriptID) usage='%prog options [file[s]]',
description = msg,
version = scriptID)
parser.add_option( '--vtk', parser.add_option( '--vtk',
dest = 'vtk', dest = 'vtk',