Skip to content

Commit a951651

Browse files
Fix SlurmClusterExecutor bug (#697)
* Fix SlurmClusterExecutor bug * Format black --------- Co-authored-by: pyiron-runner <pyiron@mpie.de>
1 parent 5f87bb4 commit a951651

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

executorlib/task_scheduler/file/shared.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ def execute_tasks_h5(
112112
cache_key=cache_key,
113113
)
114114
if task_key not in memory_dict:
115-
if task_key + "_o.h5" not in get_cache_files(
116-
cache_directory=cache_directory
117-
):
115+
if os.path.join(
116+
cache_directory, task_key + "_o.h5"
117+
) not in get_cache_files(cache_directory=cache_directory):
118118
file_name = os.path.join(cache_directory, task_key + "_i.h5")
119119
dump(file_name=file_name, data_dict=data_dict)
120120
if not disable_dependencies:

0 commit comments

Comments
 (0)