From 81b138addb0c57395b15c23f8e4993d627924a80 Mon Sep 17 00:00:00 2001 From: John Moustakas Date: Wed, 12 Jul 2023 14:03:43 -0700 Subject: [PATCH] pass specprod --- py/fastspecfit/io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/fastspecfit/io.py b/py/fastspecfit/io.py index ba659a66..5f43d678 100644 --- a/py/fastspecfit/io.py +++ b/py/fastspecfit/io.py @@ -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)) @@ -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. """