Beispiel #1
0
 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
Beispiel #2
0
 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
Beispiel #3
0
    def get(self, path_to_slices):
        slicemap_obj = SliceMap(path_to_slices,"","","",0,0,0,0)
        slicemap_obj.refresh()

        return slicemap_obj
Beispiel #4
0
    def get(self, path_to_slices):
        slicemap_obj = SliceMap(path_to_slices, "", "", "", 0, 0, 0, 0)
        slicemap_obj.refresh()

        return slicemap_obj