output file name now contains both position and mode.
e.g. ${prefix}_ipinitialcoord(point).vtr
This commit is contained in:
parent
519484233c
commit
fe1dbf2ea0
|
@ -100,7 +100,8 @@ for name in filenames:
|
|||
(directory,filename) = os.path.split(name)
|
||||
writer.SetDataModeToBinary()
|
||||
writer.SetCompressorTypeToZLib()
|
||||
writer.SetFileName(os.path.join(directory,os.path.splitext(filename)[0]+'_{}'.format(options.mode) \
|
||||
writer.SetFileName(os.path.join(directory,os.path.splitext(filename)[0] \
|
||||
+'_{}({})'.format(options.position, options.mode) \
|
||||
+'.'+writer.GetDefaultFileExtension()))
|
||||
else:
|
||||
writer = vtk.vtkDataSetWriter()
|
||||
|
|
Loading…
Reference in New Issue