File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
python/lsst/meas/algorithms Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ def initAndNormalize(
394
394
badMaskPlanes = badMaskPlanes ,
395
395
)
396
396
397
- except RuntimeError as err :
397
+ except RuntimeError :
398
398
stamp .annularFlux = np .nan
399
399
logger .error (
400
400
"The annulux flux was not found for radii {} and {}" .format (
@@ -411,17 +411,14 @@ def initAndNormalize(
411
411
stamp .optimalOuterRadius = newOuterRadius
412
412
stamp .optimalInnerRadius = newInnerRadius
413
413
break
414
- # elif newInnerRadius > maxInnerRadius:
415
- # logger.info("The star with gaiaId of {} is impossible to normalize!".format(stamp.gaiaId))
416
- # break
417
414
else :
418
415
stamp .annularFlux = np .nan
419
416
# Remove rejected stamps.
420
417
bss .normalized = True
421
418
if discardNanFluxObjects :
422
419
for reject in rejects :
423
420
bss ._stamps .remove (reject )
424
- elif forceFindFlux :
421
+ elif forceFindFlux :
425
422
for badStamp in badStamps :
426
423
bss ._stamps .remove (badStamp )
427
424
bss ._innerRadius , bss ._outerRadius = None , None
You can’t perform that action at this time.
0 commit comments