blackened code

This commit is contained in:
Alok Saldanha
2020-08-30 13:38:35 -04:00
parent b689357f29
commit 9219336356
8 changed files with 27 additions and 13 deletions
+7 -1
View File
@@ -9,7 +9,12 @@
import os
from cellxgene_gateway import env
from cellxgene_gateway.dir_util import make_h5ad, make_annotations, annotations_suffix
from cellxgene_gateway.dir_util import (
make_h5ad,
make_annotations,
annotations_suffix,
)
def recurse_dir(path):
if not os.path.exists(path):
@@ -18,6 +23,7 @@ def recurse_dir(path):
)
all_entries = sorted(os.listdir(path))
def is_h5ad(el):
return el.endswith(".h5ad") and os.path.isfile(os.path.join(path, el))