Skip to content
Snippets Groups Projects
Commit 3aa4fc92 authored by Luke Grazette's avatar Luke Grazette
Browse files

quick fix for when len(inputs) < 2

parent f4c873bf
No related branches found
No related tags found
1 merge request!363[RTADPA BW Tests] quick fix for Hlt1 BW test. len(inputs) < 2 breaks logging string
Pipeline #6555367 passed
......@@ -196,8 +196,8 @@ if __name__ == '__main__':
f'Downloading inputs for bandwidth job to {args.cache_dirs[i]}'
)
logging.info(
f'There are {len(inputs)} input files: [{inputs[0]}, {inputs[1]}, ... ]'
)
f'There are {len(inputs)} input files: [{inputs[0]} ' +
']' if len(inputs) < 2 else '{inputs[1]}, ... ]')
kB_to_GB = 1e3
job_inputs[i] = download_mdf_inputs_locally(
inputs,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment