Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit f382095

Browse files
committed
update
1 parent f672c12 commit f382095

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ecml_tools/data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -947,9 +947,8 @@ def _get_tuple(self, n):
947947
indices = [self.indices[i] for i in range(*index[0].indices(self._len))]
948948
indices = _make_slice_or_index_from_list_or_tuple(indices)
949949
# print('INDICES', indices)
950-
index, previous = update_tuple(index, 0, indices)
950+
index, _ = update_tuple(index, 0, indices)
951951
result = self.dataset[index]
952-
result = result[previous]
953952
result = apply_index_to_slices_changes(result, changes)
954953
return result
955954

0 commit comments

Comments
 (0)