Mercurial > repos > greg > icqsol_rotate_shape
changeset 7:0f4599a72a0e draft
Uploaded
author | greg |
---|---|
date | Mon, 11 Jan 2016 09:36:56 -0500 |
parents | 59f7e97dc5bf |
children | 1ca0820e2f15 |
files | icqsol_utils.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/icqsol_utils.py Mon Jan 11 09:16:26 2016 -0500 +++ b/icqsol_utils.py Mon Jan 11 09:36:56 2016 -0500 @@ -46,8 +46,10 @@ return LaplaceMatrices(shape_data, max_edge_length=max_edge_length) -def get_shape_manager(format, dataset_type): +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: