Skip to content

Commit

Permalink
corrected slicing
Browse files Browse the repository at this point in the history
  • Loading branch information
levongh committed Sep 6, 2023
1 parent c4849ca commit 7ff62dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deeplake/enterprise/convert_to_libdeeplake.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7ff62dd

Please sign in to comment.