Skip to content

Commit

Permalink
Add early deletion customise after everything else
Browse files Browse the repository at this point in the history
Needs to be the very last customise, hence plugged in ConfigBuilder.
  • Loading branch information
makortel committed Nov 23, 2016
1 parent 4a87e64 commit 0fd1027
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Configuration/Applications/python/ConfigBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2217,6 +2217,16 @@ def prepare(self, doChecking = False):

self.pythonCfgCode += self.addCustomiseCmdLine()

# Temporary hack to put the early delete customization after
# everything else
#
# FIXME: remove when no longer needed
if "RECO" in self.stepMap or "RAW2RECO" in self.stepMap:
self.pythonCfgCode += "\n# Add early deletion of temporary data products to reduce peak memory need\n"
self.pythonCfgCode += "from RecoTracker.Configuration.customiseEarlyDeleteForSeeding import customiseEarlyDeleteForSeeding\n"
self.pythonCfgCode += "process = customiseEarlyDeleteForSeeding(process)\n"
self.pythonCfgCode += "# End adding early deletion\n"


# make the .io file

Expand Down

0 comments on commit 0fd1027

Please sign in to comment.