From 97317da8c83bed0fd4754312814eb6670cf03ae4 Mon Sep 17 00:00:00 2001 From: Olaf Faaland Date: Fri, 16 Dec 2022 23:28:10 -0800 Subject: [PATCH] flux: save string form of jobid SCR uses the jobid as a component of file or directory names, so we should save the string form so we don't need to convert repeatedly. --- scripts/python/scrjob/resmgrs/flux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/python/scrjob/resmgrs/flux.py b/scripts/python/scrjob/resmgrs/flux.py index 5fd3336e..9a87fac3 100644 --- a/scripts/python/scrjob/resmgrs/flux.py +++ b/scripts/python/scrjob/resmgrs/flux.py @@ -47,7 +47,7 @@ def getjobid(self): else: jobid = self.flux.job.JobID.id_parse(jobid_str) - return jobid + return str(jobid) # get node list def get_job_nodes(self):