mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-10-08 03:18:12 +08:00
ensure annotation directory for new annotations
This commit is contained in:
@@ -62,3 +62,8 @@ def make_h5ad(el):
|
||||
|
||||
def make_annotations(el):
|
||||
return el[:-5] + annotations_suffix
|
||||
|
||||
|
||||
def ensure_dir_exists(file_path):
|
||||
if not os.path.exists(file_path):
|
||||
os.makedirs(file_path)
|
||||
|
||||
Reference in New Issue
Block a user