changeset 13:6c707e544d4e draft

Uploaded
author greg
date Mon, 11 Jan 2016 09:30:38 -0500
parents 273ff0db8236
children e992fb975d68
files icqsol_color_surface_field.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/icqsol_color_surface_field.py	Mon Jan 11 09:30:31 2016 -0500
+++ b/icqsol_color_surface_field.py	Mon Jan 11 09:30:38 2016 -0500
@@ -3,7 +3,6 @@
 import shutil
 
 import icqsol_utils
-from icqsol.shapes.icqShapeManager import ShapeManager
 
 # Parse Command Line.
 parser = argparse.ArgumentParser()
@@ -22,7 +21,7 @@
 input_format, input_file_type = icqsol_utils.get_format_and_type(args.input_file_format_and_type)
 
 # Instantiate a ShapeManager for loading the input.
-shape_mgr = ShapeManager(file_format=icqsol_utils.VTK, vtk_dataset_type=args.input_dataset_type)
+shape_mgr = icqsol_utils.get_shape_manager(icqsol_utils.VTK, args.input_dataset_type)
 
 # Get the vtkPolyData from the input dataset.
 vtk_poly_data = shape_mgr.loadAsVtkPolyData(args.input)