Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
iprafols committed May 4, 2022
1 parent 7b9bee6 commit 727500a
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions py/picca/delta_extraction/data_catalogues/desi_healpix.py
Expand Up @@ -140,12 +140,6 @@ def read_data(self):
filename, is_mock_aux = self.get_filename(survey, healpix)
if is_mock_aux:
is_mock = True
#input_directory = f'{self.input_directory}/{survey}/dark'
#coadd_name = "spectra" if self.use_non_coadded_spectra else "coadd"
#filename = (
# f"{input_directory}/{healpix//100}/{healpix}/{coadd_name}-{survey}-"
# f"dark-{healpix}.fits")

arguments.append((filename, group, forests_by_targetid))

self.logger.info(f"reading data from {len(arguments)} files")
Expand All @@ -171,13 +165,6 @@ def read_data(self):
filename, is_mock_aux = self.get_filename(survey, healpix)
if is_mock_aux:
is_mock = True
#input_directory = f'{self.input_directory}/{survey}/dark'
#coadd_name = "spectra" if self.use_non_coadded_spectra else "coadd"
#filename = (
# f"{input_directory}/{healpix//100}/{healpix}/{coadd_name}-{survey}-"
# f"dark-{healpix}.fits")
# TODO: not sure if we want the dark survey to be hard coded
# in here, probably won't run on anything else, but still
self.read_file(filename, group, forests_by_targetid)
self.logger.progress(
f"Read {index} of {len(grouped_catalogue.groups.keys)}. "
Expand Down

0 comments on commit 727500a

Please sign in to comment.