Skip to content

Commit

Permalink
Remove zipped output files
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed Jul 1, 2024
1 parent 6dd5b8b commit 780b079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lya_2pt/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def write_optimal_cf_healpix(self, output, healpix_id, global_config, settings):
file: str
Name of the read file, used to construct the output file
"""
filename = self.healpix_dir / f"optimal-correlation-{healpix_id}.fits.gz"
filename = self.healpix_dir / f"optimal-correlation-{healpix_id}.fits"

# save data
results = fitsio.FITS(filename, 'rw', clobber=True)
Expand Down Expand Up @@ -202,7 +202,7 @@ def write_optimal_cf(
if mpi_rank is not None:
proc_string = "-" + str(mpi_rank)

filename = self.healpix_dir / f"opt-corr-mean{proc_string}.fits.gz"
filename = self.healpix_dir / f"opt-corr-mean{proc_string}.fits"

# save data
output_fits = fitsio.FITS(filename, 'rw', clobber=True)
Expand All @@ -222,7 +222,7 @@ def write_optimal_cf(

output_fits.close()

filename = self.healpix_dir / f"opt-corr-samples{proc_string}.fits.gz"
filename = self.healpix_dir / f"opt-corr-samples{proc_string}.fits"
output_fits = fitsio.FITS(filename, 'rw', clobber=True)

for healpix_id, result in output.items():
Expand Down

0 comments on commit 780b079

Please sign in to comment.