Skip to content

Commit

Permalink
fix: Fixed parse_key issue
Browse files Browse the repository at this point in the history
  • Loading branch information
micmurawski committed Feb 4, 2024
1 parent 1baf09f commit 943d62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_dependencies(subpackage="requirements"):

setup(
name='cloud_array',
version='0.0.5',
version='0.0.6',
author="Michal Murawski",
author_email="[email protected]",
description="Cloud implementation of array for Big Data",
Expand Down
2 changes: 1 addition & 1 deletion src/cloud_array/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def parse_key_to_slices(self, key: Tuple[slice]):
return tuple(result)

def __getitem__(self, key) -> np.ndarray:
new_key = self.parse_key(key)
new_key = self.parse_key_to_slices(key)

def _get_chunk_data_by_key(key: Sequence[slice]):
idx = compute_index_of_slice(key, self.shape, self.chunk_shape)
Expand Down

0 comments on commit 943d62e

Please sign in to comment.