Fixed another gunzip instance
@@ -26,7 +26,7 @@ def run_delphes(
if extension == ".gz":
logger.debug("Unzipping %s", hepmc_sample_filename)
if not os.path.exists(filename):
- call_command("gunzip -k {}".format(hepmc_sample_filename))
+ call_command("gunzip -c {} > {}".format(hepmc_sample_filename, filename))
if delete_unzipped_file:
to_delete = filename
hepmc_sample_filename = filename
