Skip to content

Commit

Permalink
Fix resource dict in interactive jobs (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Nov 8, 2024
1 parent 2132028 commit 2d10415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executorlib/interactive/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def _execute_task_with_cache(
fn=task_dict["fn"],
fn_args=task_dict["args"],
fn_kwargs=task_dict["kwargs"],
resource_dict=task_dict["resource_dict"],
resource_dict=task_dict.get("resource_dict", {}),
)
os.makedirs(cache_directory, exist_ok=True)
file_name = os.path.join(cache_directory, task_key + ".h5out")
Expand Down

0 comments on commit 2d10415

Please sign in to comment.