def init(self, path_to_slices, slice_name_format, slicemap_name_format, config_name_format, rows, cols, width, height): slicemap_obj = SliceMap(path_to_slices, slice_name_format, slicemap_name_format, config_name_format, rows, cols, width, height) slicemap_obj.save() return slicemap_obj
def get(self, path_to_slices): slicemap_obj = SliceMap(path_to_slices,"","","",0,0,0,0) slicemap_obj.refresh() return slicemap_obj
def get(self, path_to_slices): slicemap_obj = SliceMap(path_to_slices, "", "", "", 0, 0, 0, 0) slicemap_obj.refresh() return slicemap_obj