Skip to content

Commit 16cfd16

Browse files
Dr15Jonesmakortel
andcommitted
No need to test before changing to correct extension
Co-authored-by: Matti Kortelainen <[email protected]>
1 parent ead4526 commit 16cfd16

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Configuration/Applications/python/ConfigBuilder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,8 +729,7 @@ def _createOutputModuleInAddOutput(self, tier, streamType, eventContent, fileNam
729729
CppType='TimeoutPoolOutputModule'
730730
if streamType=='DQM' and tier=='DQMIO':
731731
CppType='DQMRootOutputModule'
732-
if len(fileName) > 6 and fileName[-6:] == '.rntpl':
733-
fileName = fileName.replace('.rntpl', '.root')
732+
fileName = fileName.replace('.rntpl', '.root')
734733
if not ignoreNano and "NANOAOD" in streamType : CppType='NanoAODOutputModule'
735734
if self._options.rntuple_out and CppType == 'PoolOutputModule':
736735
CppType='RNTupleOutputModule'

0 commit comments

Comments
 (0)