From e3bcb9c35bc708b94b54a08ac0bb7e39f1515667 Mon Sep 17 00:00:00 2001 From: Efe Date: Tue, 29 Oct 2024 19:53:49 +0100 Subject: [PATCH] rm the original runcmsgrid file after patching --- bin/utils/request_fragment_check.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/utils/request_fragment_check.py b/bin/utils/request_fragment_check.py index ecb13d8365f..3183b889e47 100755 --- a/bin/utils/request_fragment_check.py +++ b/bin/utils/request_fragment_check.py @@ -1556,6 +1556,9 @@ def root_requests_from_ticket(ticket_prepid, include_docs=False): os.system("patch "+runcmsgrid_file+" < /eos/cms/store/group/phys_generator/cvmfs/gridpacks/mg_amg_patch/runcmsgrid_systematics_NLO.patch") if mg_lo: os.system("patch "+runcmsgrid_file+" < /eos/cms/store/group/phys_generator/cvmfs/gridpacks/mg_amg_patch/runcmsgrid_systematics_LO.patch") + runcmsgrid_orig_file = os.path.join(my_path, pi, "runcmsgrid.sh.orig") + if os.path.isfile(runcmsgrid_orig_file): + os.system("rm "+runcmsgrid_orig_file) err_gpr = gridpack_repack_and_copy(gridpack_eos_path,my_path,pi) errors.extend(err_gpr) if mg5_aMC_version < 260: