File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed
executorlib/task_scheduler Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ def __init__(
6262 if execute_function == execute_in_subprocess and terminate_function is None :
6363 terminate_function = terminate_subprocess
6464 cache_directory_path = os .path .abspath (cache_directory )
65- os .makedirs (cache_directory_path , exist_ok = True )
6665 self ._process_kwargs = {
6766 "future_queue" : self ._future_queue ,
6867 "execute_function" : execute_function ,
Original file line number Diff line number Diff line change @@ -160,7 +160,6 @@ def _execute_task_with_cache(
160160 resource_dict = task_dict .get ("resource_dict" , {}),
161161 cache_key = cache_key ,
162162 )
163- os .makedirs (cache_directory , exist_ok = True )
164163 file_name = os .path .abspath (os .path .join (cache_directory , task_key + "_o.h5" ))
165164 if file_name not in get_cache_files (cache_directory = cache_directory ):
166165 f = task_dict .pop ("future" )
You can’t perform that action at this time.
0 commit comments