Skip to content

Commit eceb2a6

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

executorlib/cache/shared.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ def execute_tasks_h5(
107107
)
108108
if task_key not in memory_dict:
109109
if not (
110-
task_key in os.listdir(cache_directory) and
111-
"cache.h5out" in os.listdir(os.path.join(cache_directory, task_key))
110+
task_key in os.listdir(cache_directory)
111+
and "cache.h5out"
112+
in os.listdir(os.path.join(cache_directory, task_key))
112113
):
113114
os.makedirs(os.path.join(cache_directory, task_key), exist_ok=True)
114115
file_name = os.path.join(cache_directory, task_key, "cache.h5in")

0 commit comments

Comments
 (0)