From 7ff62ddc9a577bdbae736ad163b2e9f03031a7b6 Mon Sep 17 00:00:00 2001 From: Levon Ghukasyan Date: Wed, 6 Sep 2023 07:46:48 +0400 Subject: [PATCH] corrected slicing --- deeplake/enterprise/convert_to_libdeeplake.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deeplake/enterprise/convert_to_libdeeplake.py b/deeplake/enterprise/convert_to_libdeeplake.py index 8ab40c0ac2..c354a27dfa 100644 --- a/deeplake/enterprise/convert_to_libdeeplake.py +++ b/deeplake/enterprise/convert_to_libdeeplake.py @@ -213,5 +213,5 @@ def dataset_to_libdeeplake(hub2_dataset): slice_ = hub2_dataset.index.values[0].value if slice_ != slice(None)and isinstance(slice_, tuple): slice_ = list(slice_) - libdeeplake_dataset = libdeeplake_dataset[slice_] + libdeeplake_dataset = libdeeplake_dataset[slice_] return libdeeplake_dataset