Applied "Formatting and new enumeration for Cellxgene-gateway" patch

This commit is contained in:
Alok Saldanha
2020-08-30 13:36:39 -04:00
parent df812f3203
commit b689357f29
19 changed files with 358 additions and 193 deletions
+8 -3
View File
@@ -51,8 +51,13 @@ def create_dir(parent_path, dir_name):
else:
os.mkdir(full_path)
annotations_suffix = '_annotations'
annotations_suffix = "_annotations"
def make_h5ad(el):
return el[:-len(annotations_suffix)]+'.h5ad'
return el[: -len(annotations_suffix)] + ".h5ad"
def make_annotations(el):
return el[:-5]+annotations_suffix
return el[:-5] + annotations_suffix