File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ async def run(
8080 """
8181 jex = psij .JobExecutor .get_instance (self .subtype )
8282
83- cache_dir = job .cache_dir
84- file_path = cache_dir / "runnable_function.pkl"
83+ cache_root = job .cache_root
84+ file_path = cache_root / "runnable_function.pkl"
8585 with open (file_path , "wb" ) as file :
8686 cp .dump (job .run , file )
8787 func_path = SCRIPTS_DIR / "run_pickled.py"
@@ -90,8 +90,8 @@ async def run(
9090 if rerun :
9191 spec .arguments .append ("--rerun" )
9292
93- spec .stdout_path = cache_dir / "demo.stdout"
94- spec .stderr_path = cache_dir / "demo.stderr"
93+ spec .stdout_path = cache_root / "demo.stdout"
94+ spec .stderr_path = cache_root / "demo.stderr"
9595
9696 psij_job = self .make_job (spec , None )
9797 jex .submit (psij_job )
You can’t perform that action at this time.
0 commit comments