From c88f82c30f023017bb7be2021a76b29605375953 Mon Sep 17 00:00:00 2001 From: gerenjie Date: Mon, 25 Nov 2024 16:54:22 +0000 Subject: [PATCH] Remove debugging logs --- python/lsst/ap/association/ssSingleFrameAssociation.py | 1 - python/lsst/ap/association/ssoAssociation.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/python/lsst/ap/association/ssSingleFrameAssociation.py b/python/lsst/ap/association/ssSingleFrameAssociation.py index c93ab3bf..f030d764 100644 --- a/python/lsst/ap/association/ssSingleFrameAssociation.py +++ b/python/lsst/ap/association/ssSingleFrameAssociation.py @@ -178,5 +178,4 @@ def associateSources(self, sourceTable, solarSystemObjectTable, exposure): sourceTable['dec'] = sourceTable['coord_dec'].to(deg).value ssoAssocResult = self.solarSystemAssociator.run(sourceTable.to_pandas(), solarSystemObjectTable, exposure) - self.log.info(str(dir(ssoAssocResult))) return ssoAssocResult.ssSourceData, ssoAssocResult.unAssocSsObjects diff --git a/python/lsst/ap/association/ssoAssociation.py b/python/lsst/ap/association/ssoAssociation.py index d0561e29..20b7a069 100644 --- a/python/lsst/ap/association/ssoAssociation.py +++ b/python/lsst/ap/association/ssoAssociation.py @@ -130,7 +130,6 @@ def run(self, diaSourceCatalog, solarSystemObjects, exposure): if nSolarSystemObjects <= 0: return self._return_empty(diaSourceCatalog, maskedObjects) - self.log.info("Attempting to associate %d objects...", nSolarSystemObjects) maxRadius = np.deg2rad(self.config.maxDistArcSeconds / 3600) # Transform DIA RADEC coordinates to unit sphere xyz for tree building. @@ -249,7 +248,6 @@ def _radec_to_xyz(self, ras, decs): return vectors def _return_empty(self, diaSourceCatalog, emptySolarSystemObjects): - self.log.info(str(type(diaSourceCatalog))) self.log.info("No SolarSystemObjects found in detector bounding box.") return pipeBase.Struct( ssoAssocDiaSources=Table(names=diaSourceCatalog.columns),