Skip to content

Commit 07f8107

Browse files
committed
make naming more clear
1 parent a2941eb commit 07f8107

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydra/engine/workers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -988,14 +988,14 @@ async def exec_psij(self, runnable, rerun=False):
988988

989989
if isinstance(runnable, TaskBase):
990990
cache_dir = runnable.cache_dir
991-
file_path = cache_dir / "my_function.pkl"
991+
file_path = cache_dir / "runnable_function.pkl"
992992
with open(file_path, "wb") as file:
993993
pickle.dump(runnable._run, file)
994994
func_path = absolute_path / "run_pickled.py"
995995
spec = self.make_spec("python", [func_path, file_path])
996996
else: # it could be tuple that includes pickle files with tasks and inputs
997997
cache_dir = runnable[-1].cache_dir
998-
file_path_1 = cache_dir / "my_function.pkl"
998+
file_path_1 = cache_dir / "runnable_function.pkl"
999999
file_path_2 = cache_dir / "taskmain.pkl"
10001000
file_path_3 = cache_dir / "ind.pkl"
10011001
ind, task_main_pkl, task_orig = runnable

0 commit comments

Comments
 (0)