Skip to content

Commit

Permalink
[BUG] Invalid Indices Error verbiage wrong #17
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin931 committed Dec 28, 2024
1 parent 2b5ae09 commit af2a4c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyCytoData/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def __getitem__(self, items: Union[slice, List[int], np.ndarray, Tuple[Union[sli

if (not isinstance(items, slice) and not isinstance(items, tuple) and
not isinstance(items, list) and not isinstance(items, np.ndarray)):
raise TypeError("Invalid indices: Must be integer, slice, tuple, list, or numpy array.")
raise TypeError("Invalid indices: Must be slice, tuple, list, or numpy array.")

out_object = deepcopy(self)
if isinstance(items, tuple):
Expand Down

0 comments on commit af2a4c9

Please sign in to comment.