Skip to content

Commit

Permalink
pass specprod
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Jul 12, 2023
1 parent 85d3a7f commit 81b138a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/fastspecfit/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ def select(self, redrockfiles, zmin=0.001, zmax=None, zwarnmax=None,
# photometry. Note that we have to make a copy of the input_meta table
# because otherwise BRICKNAME gets "repaired!"
t0 = time.time()
metas = self._gather_photometry()
metas = self._gather_photometry(specprod=specprod)
self.meta = metas # update
log.info('Gathered photometric metadata in {:.2f} sec'.format(time.time()-t0))

Expand Down Expand Up @@ -1350,7 +1350,7 @@ def read_stacked(self, stackfiles, firsttarget=0, ntargets=None,

return alldata

def _gather_photometry(self):
def _gather_photometry(self, specprod=None):
"""Gather photometry according to the input data release string.
"""
Expand Down

0 comments on commit 81b138a

Please sign in to comment.