Skip to content

Commit c2744d8

Browse files
authored
Merge pull request #47888 from Dr15Jones/fixConfigBuilderRNTupleUsing
Avoid adding .root to a file ending in .rntpl in ConfigBuilder
2 parents a18a727 + 81f6bfa commit c2744d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Configuration/Applications/python/ConfigBuilder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ def _addOutputUsingOutputDefinition(self):
627627
defaultFileName=defaultFileName.replace('.rntpl','_in'+theTier+'.rntpl')
628628

629629
theFileName=self._options.dirout+anyOf(['fn','fileName'],outDefDict,defaultFileName)
630-
if not theFileName.endswith('.root'):
630+
if not theFileName.endswith('.root') and not theFileName.endswith('.rntpl'):
631631
theFileName+='.root'
632632

633633
if len(outDefDict):

0 commit comments

Comments
 (0)