Skip to content

Commit

Permalink
adding missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
azotz committed Oct 14, 2021
1 parent 77543f6 commit 5e1feb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RecoTauTag/HLTProducers/test/testL2TauTagNN.py
Expand Up @@ -49,6 +49,12 @@ def readFileList(fileList, inputFileName, fileNamePrefix):
if len(name) > 0 and name[0] != '#':
fileList.append(fileNamePrefix + name)

def addFilesToList(fileList, inputFiles, fileNamePrefix):
"""read intput file list from a another list"""
for name in inputFiles:
if len(name) > 0 and name[0] != '#':
fileList.append(fileNamePrefix + name)

if len(options.fileList) > 0:
readFileList(process.source.fileNames, options.fileList, options.fileNamePrefix)
elif len(options.inputFiles) > 0:
Expand Down

0 comments on commit 5e1feb7

Please sign in to comment.