We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe8c5cf commit 193c3e0Copy full SHA for 193c3e0
examples/scripts/diagnostic_tools/doanalysis.py
@@ -187,10 +187,8 @@ def build_list_of_files(file_list):
187
return run_list
188
189
if type(input_file) is list:
190
- if batch_size == 1:
191
- input_file_list = os.path.join(os.getcwd(), input_file)
192
- else:
193
- input_file_list = build_list_of_files(input_file)
+ input_file = [os.path.join(os.getcwd(), i) for i in input_file]
+ input_file_list = build_list_of_files(input_file)
194
elif not input_file.endswith(".root"):
195
with open(input_file, "r") as f:
196
lines = f.readlines()
0 commit comments