diff --git a/polytope/datacube/transformations/datacube_mappers/mapper_types/local_regular.py b/polytope/datacube/transformations/datacube_mappers/mapper_types/local_regular.py index 8ae8d545..44d46998 100644 --- a/polytope/datacube/transformations/datacube_mappers/mapper_types/local_regular.py +++ b/polytope/datacube/transformations/datacube_mappers/mapper_types/local_regular.py @@ -25,7 +25,6 @@ def __init__(self, base_axis, mapped_axes, resolution, local_area=[]): self._axis_reversed = {mapped_axes[0]: True, mapped_axes[1]: False} self._first_axis_vals = self.first_axis_vals() self.compressed_grid_axes = [self._mapped_axes[1]] - self.md5_hash = md5_hash.get(resolution, None) def first_axis_vals(self): first_ax_vals = [self._first_axis_max - i * self._first_deg_increment for i in range(self.first_resolution + 1)] diff --git a/polytope/datacube/transformations/datacube_transformations.py b/polytope/datacube/transformations/datacube_transformations.py index 34af2255..4212d7dd 100644 --- a/polytope/datacube/transformations/datacube_transformations.py +++ b/polytope/datacube/transformations/datacube_transformations.py @@ -14,7 +14,6 @@ def create_transform(name, transformation_type_key, transformation_options): file_name = ".datacube_" + transformation_file_name module = import_module("polytope.datacube.transformations" + file_name + file_name) constructor = getattr(module, transformation_type) - # transformation_type_option = transformation_options[transformation_type_key] transformation_type_option = transformation_options new_transformation = deepcopy(constructor(name, transformation_type_option)) diff --git a/polytope/engine/hullslicer.py b/polytope/engine/hullslicer.py index 20257bba..8d3df84a 100644 --- a/polytope/engine/hullslicer.py +++ b/polytope/engine/hullslicer.py @@ -201,7 +201,6 @@ def remove_compressed_axis_in_union(self, polytopes): for p in polytopes: if p.is_in_union: for axis in p.axes(): - # if axis in self.compressed_axes: if axis == self.compressed_axes[-1]: self.compressed_axes.remove(axis)