Commit a4e6db55 authored by Andrew McNab's avatar Andrew McNab
Browse files

Fix hs06_job in prologue.user

parent 70dd7cc6
VERSION=00.04
VERSION=00.05
......@@ -139,14 +139,14 @@ except:
# hs06_job is a float so special handling
if 'hs06_job=' in fromRun + fromSysconfig:
try:
matchObject = re.search(key + "=([0-9.]*)", fromSysconfig + fromRun)
matchObject = re.search("hs06_job=([0-9.]*)", fromSysconfig + fromRun)
hs06_job = float(matchObject.group(1))
except:
pass
if hs06_job:
# Has been defined here or before
open(jobfeaturesDir + '/hs06_job', 'w').write('%.2f' % hs06_job)
if hs06_job:
# Has been defined here or before
open(jobfeaturesDir + '/hs06_job', 'w').write('%.2f' % hs06_job)
# The rest are integers so handle with a list
for key in ['allocated_cpu', 'wall_limit_secs', 'cpu_limit_secs',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment