diff --git a/Phys/DaVinci/python/DaVinci/algorithms.py b/Phys/DaVinci/python/DaVinci/algorithms.py index 2c0a3295ce0a5d00fdf30ffa2c925b58879ea05f..22a9b18282c4b34c459298aa3e3f072b4481d634 100644 --- a/Phys/DaVinci/python/DaVinci/algorithms.py +++ b/Phys/DaVinci/python/DaVinci/algorithms.py @@ -494,7 +494,8 @@ def expand_input_files(options): """ expanded_files = [] for file_name in options.input_files: - if "root://eoslhcb.cern.ch//" in file_name: + if any(f"root://{x}.cern.ch//" in file_name + for x in ["eoslhcb", "eosuser"]): import XRootD.client as c # Workaround since file with a prefix before 'root://' # as ('mdf:', 'PFN:') are not expanded correctly with .glob