From c05230af264dc255b3709277e879f1dcd688894b Mon Sep 17 00:00:00 2001
From: Karol Krizka <kkrizka@gmail.com>
Date: Tue, 26 Jul 2022 01:38:59 -0700
Subject: [PATCH] Allow comma-separtaed files in filesInput for IDPVM.

---
 .../InDetValidation/InDetPhysValMonitoring/scripts/runIDPVM.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/scripts/runIDPVM.py b/InnerDetector/InDetValidation/InDetPhysValMonitoring/scripts/runIDPVM.py
index 6469b505c48d..f7a4f8555142 100755
--- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/scripts/runIDPVM.py
+++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/scripts/runIDPVM.py
@@ -51,7 +51,7 @@ ConfigFlags.IDPVM.ancestorIDs = MyArgs.ancestorIDList
 ConfigFlags.IDPVM.hardScatterStrategy = int(MyArgs.hardScatterStrategy)
 ConfigFlags.IDPVM.truthMinPt = MyArgs.truthMinPt
 
-ConfigFlags.Input.Files = glob(MyArgs.filesInput)
+ConfigFlags.Input.Files = sum(map(glob,MyArgs.filesInput.split(',')),[])
 
 from AthenaConfiguration.MainServicesConfig import MainServicesCfg
 acc = MainServicesCfg(ConfigFlags)
-- 
GitLab