diff --git a/loompy/layer_manager.py b/loompy/layer_manager.py index 45a17a6..5093b5a 100644 --- a/loompy/layer_manager.py +++ b/loompy/layer_manager.py @@ -68,12 +68,6 @@ def __getitem__(self, thing: Any) -> np.ndarray: """ if type(thing) is str: return self.__getattr__(thing) - elif type(thing) is tuple: - # A tuple of strings giving alternative names for attributes - for t in thing: - if t in self.__dict__["storage"]: - return self.__getattr__(t) - raise AttributeError(f"'{type(self)}' object has no attribute {thing}") else: # Assume some kind of slice lm = LayerManager(None)