Skip to content

Commit

Permalink
Remove unnecessary STREAK (now in default planes)
Browse files Browse the repository at this point in the history
  • Loading branch information
parejkoj committed Nov 12, 2024
1 parent 4e62401 commit ce00308
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -873,9 +873,8 @@ def detectTestSources(exposure, addMaskPlanes=None):
Source catalog containing candidates
"""
if addMaskPlanes is None:
# add empty streak mask plane in lieu of maskStreaksTask
# And add empty INJECTED and INJECTED_TEMPLATE mask planes
addMaskPlanes = ["STREAK", "INJECTED", "INJECTED_TEMPLATE"]
addMaskPlanes = ["INJECTED", "INJECTED_TEMPLATE"]

schema = afwTable.SourceTable.makeMinimalSchema()
selectDetection = measAlg.SourceDetectionTask(schema=schema)
Expand Down

0 comments on commit ce00308

Please sign in to comment.