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

revert download_digi changes now unneeded:

parent bc29ad83
No related branches found
No related tags found
No related merge requests found
Pipeline #6397605 failed
......@@ -136,10 +136,6 @@ if __name__ == '__main__':
help=
"Download files to local disk before running Moore. Achieves big speedup (5x) in Moore, but only worth it if the downloading is fast (probably only true if you're at CERN.)"
)
parser.add_argument(
'--digi',
action='store_true',
help="Specifies input files as digi instead of mdf as the default")
parser.add_argument(
'--cache-dirs',
default=None,
......@@ -198,14 +194,14 @@ if __name__ == '__main__':
f'Downloading input files {inputs[:MAX_NFILES_TO_PRINT_TO_LOG]}'
)
if all(is_remote(url) for url in inputs):
from Moore.qmtest.context import download_mdf_inputs_locally, download_digi_inputs_locally
from Moore.qmtest.context import download_mdf_inputs_locally
# download_mdf_inputs_locally only downloads if files
# are not already available locally on the machine
logging.info(
'Downloading inputs for bandwidth job to {}'.format(
args.cache_dirs[i]))
kB_to_GB = 1e3
download_locally = download_digi_inputs_locally if args.digi else download_mdf_inputs_locally
download_locally = else download_mdf_inputs_locally
job_inputs[i] = download_locally(
inputs,
args.cache_dirs[i],
......
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