Skip to content

Commit

Permalink
Remove invalid input. Change digest to 7 bytes.
Browse files Browse the repository at this point in the history
  • Loading branch information
morriscb committed Sep 2, 2021
1 parent 34645ef commit adb6e7f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion python/lsst/ap/association/diaPipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ def run(self,
loaderResult.diaSources,
diaForcedSources,
diffIm,
exposure,
warpedExposure,
ccdExposureIdBits)

Expand Down
2 changes: 1 addition & 1 deletion python/lsst/ap/association/ephemerisQuery.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _skybotConeSearch(self, expCenter, expMidPointMJD, queryRadius):
# name. This is a stop gap until such a time as the Rubin
# Ephemeris system exists and we create our own Ids.
dfSSO["ssObjectId"] = [
int(blake2b(bytes(name, "utf-8"), digest_size=8).hexdigest(),
int(blake2b(bytes(name, "utf-8"), digest_size=7).hexdigest(),
base=16)
for name in dfSSO["Name"]
]
Expand Down

0 comments on commit adb6e7f

Please sign in to comment.