Skip to content

Commit

Permalink
Merge pull request #218 from ecmwf/feature/clean_up
Browse files Browse the repository at this point in the history
Feature/clean up
  • Loading branch information
mathleur authored Sep 19, 2024
2 parents c5ad327 + f622f6f commit e1f8fdf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
1 change: 0 additions & 1 deletion polytope/engine/hullslicer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e1f8fdf

Please sign in to comment.