Mercurial > repos > greg > icqsol_scale_shape
diff icqsol_utils.py @ 6:22929b6a7008 draft
Uploaded
author | greg |
---|---|
date | Tue, 12 Jul 2016 15:01:01 -0400 |
parents | c3b8705325ea |
children |
line wrap: on
line diff
--- a/icqsol_utils.py Mon Jan 11 09:37:15 2016 -0500 +++ b/icqsol_utils.py Tue Jul 12 15:01:01 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):