Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-39466: Added flagging of sources near the INJECTED and INJECTED_TEMPLATE mask plane #293

Merged
merged 1 commit into from Jan 23, 2024

Conversation

BrunoSanchez
Copy link
Contributor

No description provided.

@isullivan isullivan changed the title Added flagging of sources near the INJECTED and INJECTED_TEMPLATE mask plane DM-39466: Added flagging of sources near the INJECTED and INJECTED_TEMPLATE mask plane Jan 16, 2024
@BrunoSanchez BrunoSanchez force-pushed the tickets/DM-39466 branch 3 times, most recently from 3724b0a to 10d485b Compare January 16, 2024 19:45
Copy link
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes look fine, and my local tests with ap_verify pass. Please add a new unit test to check that detectAndMeasure correctly flags sources with footprints including pixels with the INJECTED or INJECTED_TEMPLATE mask set. A simple Jenkins re-run (without ci_hsc or ci_imsim) should be sufficient if you just add a test.

@BrunoSanchez BrunoSanchez force-pushed the tickets/DM-39466 branch 2 times, most recently from 43b4832 to fcb4529 Compare January 22, 2024 16:09
@BrunoSanchez
Copy link
Contributor Author

Copy link
Contributor

@isullivan isullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added my review of the new unit test

tests/test_detectAndMeasure.py Outdated Show resolved Hide resolved
tests/test_detectAndMeasure.py Outdated Show resolved Hide resolved
tests/test_detectAndMeasure.py Outdated Show resolved Hide resolved
tests/test_detectAndMeasure.py Outdated Show resolved Hide resolved
tests/test_detectAndMeasure.py Outdated Show resolved Hide resolved
tests/test_detectAndMeasure.py Outdated Show resolved Hide resolved
tests/test_detectAndMeasure.py Show resolved Hide resolved
tests/test_detectAndMeasure.py Show resolved Hide resolved
@BrunoSanchez
Copy link
Contributor Author

I have applied the changes requested for the test. This improves significantly the quality of this unit test. Thanks very much

Added requested test. Modified a test from subtract and migrated it to detectandmeasure
@BrunoSanchez BrunoSanchez merged commit 88964a4 into main Jan 23, 2024
2 checks passed
@BrunoSanchez BrunoSanchez deleted the tickets/DM-39466 branch January 23, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants