Skip to content

Commit ad4912f

Browse files
committed
Update rootfile naming
1 parent 4a8eef4 commit ad4912f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/runBTagAnalyzer_cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,9 @@
836836
if options.inputFiles:
837837
process.source.fileNames = options.inputFiles
838838

839+
# Remove .root if exisits (addded back later)
840+
options.outFilename = options.outFilename.replace(".root","")
841+
839842
# Define the output file name
840843
if options.runOnData :
841844
options.outFilename += '_data'

0 commit comments

Comments
 (0)