Skip to content
Snippets Groups Projects
Commit 7ac86cfd authored by Timothee Theveneaux-Pelzer's avatar Timothee Theveneaux-Pelzer :vulcan:
Browse files

Remove lhe files from gridpack when creating tarball, in NLO mode only

parent 6f5524ff
No related branches found
No related tags found
No related merge requests found
......@@ -422,7 +422,7 @@ def generate(process_dir='PROC_mssm_0',grid_pack=False,gridpack_compile=False,ex
### NLO RUN ###
mglog.info('Package up process_dir')
os.rename(process_dir,MADGRAPH_GRIDPACK_LOCATION)
tar = subprocess.Popen(['tar','czf',gridpack_name,MADGRAPH_GRIDPACK_LOCATION,'--exclude=lib/PDFsets'])
tar = subprocess.Popen(['tar','czf',gridpack_name,MADGRAPH_GRIDPACK_LOCATION,'--exclude={lib/PDFsets,Events/*/*events*.gz}'])
tar.wait()
os.rename(MADGRAPH_GRIDPACK_LOCATION,process_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment