We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057e531 commit 8147fdeCopy full SHA for 8147fde
executorlib/interactive/shared.py
@@ -618,13 +618,12 @@ def _execute_task_with_cache(
618
"""
619
from executorlib.standalone.hdf import dump, get_output
620
621
+ future = task_dict["future"]
622
task_key, data_dict = serialize_funct_h5(
623
task_dict["fn"], *task_dict["args"], **task_dict["kwargs"]
624
)
625
+ os.makedirs(cache_directory, exist_ok=True)
626
file_name = os.path.join(cache_directory, task_key + ".h5out")
- if not os.path.exists(cache_directory):
- os.mkdir(cache_directory)
627
- future = task_dict["future"]
628
if task_key + ".h5out" not in os.listdir(cache_directory):
629
_execute_task(
630
interface=interface,
0 commit comments