Skip to content

Commit 34b40b1

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent eb3f2e6 commit 34b40b1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

executorlib/cache/shared.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,13 @@ def execute_tasks_h5(
106106
resource_dict=task_resource_dict,
107107
)
108108
if task_key not in memory_dict:
109-
if task_key not in os.listdir(cache_directory) and "cache.h5out" not in os.listdir(os.path.join(cache_directory, task_key)):
109+
if task_key not in os.listdir(
110+
cache_directory
111+
) and "cache.h5out" not in os.listdir(
112+
os.path.join(cache_directory, task_key)
113+
):
110114
os.makedirs(os.path.join(cache_directory, task_key), exist_ok=True)
111-
file_name = os.path.join(cache_directory, task_key, "cache.h5in")
115+
file_name = os.path.join(cache_directory, task_key, "cache.h5in")
112116
dump(file_name=file_name, data_dict=data_dict)
113117
if not disable_dependencies:
114118
task_dependent_lst = [

0 commit comments

Comments
 (0)