Skip to content

Commit

Permalink
Made legacySolarSystemTable an optional input
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerenjie committed Sep 3, 2024
1 parent fca31ed commit c8d648a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/lsst/ap/association/diaPipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ def run(self,
RuntimeError
Raised if duplicate DiaObjects or duplicate DiaSources are found.
"""
# Accept either legacySolarSystemTable or optional solarSystemObjectTable.
if legacySolarSystemTable is not None and solarSystemObjectTable is None:
solarSystemObjectTable = legacySolarSystemTable
if not preloadedDiaObjects.empty:
diaObjects = self.purgeDiaObjects(diffIm.getBBox(), diffIm.getWcs(), preloadedDiaObjects,
buffer=self.config.imagePixelMargin)
Expand Down

0 comments on commit c8d648a

Please sign in to comment.