Skip to content

Commit

Permalink
systematize keep_stepX to address: https://hypernews.cern.ch/HyperNew…
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Franzoni committed Mar 5, 2016
1 parent d82337b commit 4eed006
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions condDatasetSubmitter.py
Expand Up @@ -12,7 +12,7 @@
from phedex import phedex

from modules import wma

DRYRUN=False

#-------------------------------------------------------------------------------
Expand Down Expand Up @@ -519,7 +519,7 @@ def createCMSSWConfigs(options,confCondDictionary,allRunsAndBlocks):
pass
else:
wmcconf_text+='[%s_reference]\n' %details['reqtype'] +\
'KeepOutput = True\n' +\
'keep_step1 = True\n' +\
'time_event = 10\n' +\
'size_memory = 3000\n' +\
'step1_lumisperjob = 2\n' +\
Expand All @@ -544,7 +544,7 @@ def createCMSSWConfigs(options,confCondDictionary,allRunsAndBlocks):
elif recodqm:
label=cfgname.lower().replace('.py','')
wmcconf_text+='\n\n[%s_%s]\n' %(details['reqtype'],label) +\
'KeepOutput = True\n' +\
'keep_step%d = True\n'%task +\
'time_event = 1\n' +\
'size_memory = 3000\n' +\
'step1_lumisperjob = 2\n' +\
Expand Down Expand Up @@ -576,7 +576,7 @@ def createCMSSWConfigs(options,confCondDictionary,allRunsAndBlocks):
if "REFERENCE" in cfgname: continue
label=cfgname.lower().replace('.py','')
wmcconf_text+='\n\n[%s_%s]\n' %(details['reqtype'],label) +\
'KeepOutput = True\n' +\
'keep_step%d = True\n'%task +\
'time_event = 1\n' +\
'size_memory = 3000\n' +\
'step1_lumisperjob = 2\n' +\
Expand All @@ -597,7 +597,7 @@ def createCMSSWConfigs(options,confCondDictionary,allRunsAndBlocks):
else:
label=cfgname.lower().replace('.py','')
wmcconf_text+='\n\n[%s_%s]\n' %(details['reqtype'],label) +\
'KeepOutput = True\n' +\
'keep_step1 = True\n' +\
'time_event = 10\n' +\
'size_memory = 3000\n' +\
'step1_lumisperjob = 2\n' +\
Expand Down

0 comments on commit 4eed006

Please sign in to comment.