From 80c7d424a0fc43c00453296cee016f9dadc2c7be Mon Sep 17 00:00:00 2001
From: Sten Linnarsson <sten.linnarsson@ki.se>
Date: Sun, 14 Oct 2018 10:38:22 -0700
Subject: [PATCH] bug in slicing views

---
 loompy/layer_manager.py | 6 ------
 1 file changed, 6 deletions(-)

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)