Skip to content

Commit

Permalink
Remove debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerenjie committed Nov 25, 2024
1 parent 2a22a13 commit c88f82c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion python/lsst/ap/association/ssSingleFrameAssociation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions python/lsst/ap/association/ssoAssociation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit c88f82c

Please sign in to comment.