Skip to content
Snippets Groups Projects
Commit b8037ed2 authored by Anne Tipka's avatar Anne Tipka :headphones:
Browse files

if using oper without using eventid, basic job submit must be used

parent d139f3ed
Branches
No related tags found
No related merge requests found
......@@ -202,9 +202,11 @@ def submit(jtemplate, c, queue):
mk_jobscript(jtemplate, job_file, clist)
#job_id = submit_job_to_ecserver(queue, job_file)
job_id = submit_eventjob_to_ecserver(queue, job_file, c.eventid ,
c.eventjobname, c.ecuid)
if not c.eventid:
job_id = submit_job_to_ecserver(queue, job_file)
else:
job_id = submit_eventjob_to_ecserver(queue, job_file, c.eventid,
c.eventjobname, c.ecuid)
print('The job id is: ' + str(job_id.strip()))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment