Skip to content

Commit 2cf94c7

Browse files
Store job ID after submitting job in run_job function for better tracking
1 parent c4b3453 commit 2cf94c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/nvflare/nvflare_nnunet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def run_job(sess, task_name, job_folder, clients=None):
8282
f.write(HOCONConverter.to_hocon(ConfigFactory.from_dict(meta)))
8383
f.write("\n}")
8484

85-
sess.submit_job(str(Path(job_folder).joinpath(task_name)))
85+
job_id = sess.submit_job(str(Path(job_folder).joinpath(task_name)))
8686

8787
def train(
8888
nnunet_root_dir,

0 commit comments

Comments
 (0)