Skip to content
Snippets Groups Projects

[RTADPA BW Tests] quick fix for Hlt1 BW test. len(inputs) < 2 breaks logging string

Merged Luke Grazette requested to merge lugrazet-BW-hlt1-fix-loggingerror into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -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,
Loading