Mercurial > repos > greg > icqsol_add_surface_field_from_expression
diff icqsol_utils.py @ 17:114910538a37 draft
Uploaded
author | greg |
---|---|
date | Tue, 12 Jul 2016 10:51:04 -0400 |
parents | 9d3ba1049f14 |
children |
line wrap: on
line diff
--- a/icqsol_utils.py Fri Jul 08 10:34:38 2016 -0400 +++ b/icqsol_utils.py Tue Jul 12 10:51:04 2016 -0400 @@ -48,12 +48,7 @@ def get_shape_manager(format=None, dataset_type=None): # Instantiate a ShapeManager. - if format is None and dataset_type is None: - return ShapeManager() - if format == VTK: - return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) - else: - return ShapeManager(file_format=format) + return ShapeManager(file_format=format, vtk_dataset_type=dataset_type) def get_temp_dir(prefix='tmp-vtk-', dir=None):