Skip to content

Commit

Permalink
SUpport nano flavours in database
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Linares committed Jan 16, 2025
1 parent ada743f commit 3d29969
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/python/T0/RunConfig/RunConfigAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,9 @@ def releasePromptReco(tier0Config, specDirectory, dqmUploadProxy):
if len(datasetConfig.DqmSequences) > 0:
dqmSeq = ",".join(datasetConfig.DqmSequences)

if len(datasetConfig.NanoFlavours) > 0:
nanoFlavours = ",".join(datasetConfig.NanoFlavours)

datasetConfig.ScramArch = tier0Config.Global.ScramArches.get(datasetConfig.CMSSWVersion,
tier0Config.Global.DefaultScramArch)

Expand All @@ -874,6 +877,7 @@ def releasePromptReco(tier0Config, specDirectory, dqmUploadProxy):
'ALCA_SKIM' : alcaSkim,
'PHYSICS_SKIM' : physicsSkim,
'DQM_SEQ' : dqmSeq,
'NANO_FLAVOUR' : nanoFlavours,
'CMSSW' : datasetConfig.CMSSWVersion,
'SCRAM_ARCH' : datasetConfig.ScramArch,
'MULTICORE' : datasetConfig.Multicore,
Expand Down
1 change: 1 addition & 0 deletions src/python/T0/WMBS/Oracle/Create.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ def __init__(self, logger = None, dbi = None, params = None):
alca_skim varchar2(700),
physics_skim varchar2(700),
dqm_seq varchar2(700),
nano_flavour varchar2(700),
primary key (run_id, primds_id)
) ORGANIZATION INDEX"""

Expand Down

0 comments on commit 3d29969

Please sign in to comment.