Mercurial > repos > greg > icqsol_scale_shape
changeset 5:c3b8705325ea draft
Uploaded
author | greg |
---|---|
date | Mon, 11 Jan 2016 09:37:15 -0500 |
parents | 89216e1c25b8 |
children | 22929b6a7008 |
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:21:47 2016 -0500 +++ b/icqsol_utils.py Mon Jan 11 09:37:15 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: