#45 pass filter into scan_directory

also include filterpart in heading
This commit is contained in:
Alok Saldanha
2021-04-20 06:03:16 -04:00
parent 1200629d74
commit d072034911
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ class S3ItemSource(ItemSource):
return self.convert_h5ad_key_to_annotation(item.descriptor)
def list_items(self, filter: str = None) -> ItemTree:
item_tree = self.scan_directory()
item_tree = self.scan_directory("" if filter is None else filter)
return item_tree
def scan_directory(self, directory_key="") -> dict: