Skip to content

Commit

Permalink
rm the original runcmsgrid file after patching
Browse files Browse the repository at this point in the history
  • Loading branch information
efeyazgan committed Oct 29, 2024
1 parent 7d6b806 commit e3bcb9c
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 e3bcb9c

Please sign in to comment.