Skip to content

Commit

Permalink
Merge pull request #3790 from cms-sw/rm_runcms_ap_patch
Browse files Browse the repository at this point in the history
rm the original runcmsgrid file after patching
  • Loading branch information
efeyazgan authored Oct 29, 2024
2 parents 9020191 + e3bcb9c commit 1fe045d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/utils/request_fragment_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1fe045d

Please sign in to comment.