small bug fix: options.error --> parser.error

This commit is contained in:
Philip Eisenlohr 2013-12-09 15:58:35 +00:00
parent e2d4cc8b3d
commit e4cea31a9d
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ Nvertices = reader.GetNumberOfVerts()
Polydata = reader.GetOutput()
if Npoints != Ncells or Npoints != Nvertices:
options.error('Number of points, cells, and vertices in VTK differ from each other'); sys.exit()
parser.error('Number of points, cells, and vertices in VTK differ from each other'); sys.exit()
if options.scalar != None: datainfo['scalar']['label'] += options.scalar
if options.color != None: datainfo['color']['label'] += options.color