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 114d280 commit adb0e9fCopy full SHA for adb0e9f
executorlib/task_scheduler/interactive/shared.py
@@ -161,8 +161,8 @@ def _execute_task_with_cache(
161
cache_key=cache_key,
162
)
163
os.makedirs(cache_directory, exist_ok=True)
164
- file_name = os.path.join(cache_directory, task_key + "_o.h5")
165
- if task_key + "_o.h5" not in get_cache_files(cache_directory=cache_directory):
+ file_name = os.path.abspath(os.path.join(cache_directory, task_key + "_o.h5"))
+ if file_name not in get_cache_files(cache_directory=cache_directory):
166
f = task_dict.pop("future")
167
if f.set_running_or_notify_cancel():
168
try:
0 commit comments