From 9e62f9c74c0727f31d72916bacae799ca077b246 Mon Sep 17 00:00:00 2001 From: lruizcalico Date: Tue, 24 Oct 2023 19:24:15 -0700 Subject: [PATCH] black format --- src/baskerville/helpers/gcs_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/baskerville/helpers/gcs_utils.py b/src/baskerville/helpers/gcs_utils.py index 2c5b40a..4c4a850 100644 --- a/src/baskerville/helpers/gcs_utils.py +++ b/src/baskerville/helpers/gcs_utils.py @@ -256,6 +256,7 @@ def download_rename_inputs(filepath: str, temp_dir: str, is_dir: bool = False) - if is_dir: download_folder_from_gcs(filepath, temp_dir) dir_name = filepath.split("/")[-1] + os.makedirs(f"{temp_dir}/{dir_name}", exist_ok=True) return f"{temp_dir}/{dir_name}" else: _, filename = split_gcs_uri(filepath)