diff --git a/setup.py b/setup.py index 97ce50b..9c2b674 100644 --- a/setup.py +++ b/setup.py @@ -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="mmurawski777@gmail.com", description="Cloud implementation of array for Big Data", diff --git a/src/cloud_array/array.py b/src/cloud_array/array.py index 46e5c17..3b6556a 100644 --- a/src/cloud_array/array.py +++ b/src/cloud_array/array.py @@ -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)