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

Make input optional for get_detection_mask #222

Merged

Conversation

arunkannawadi
Copy link
Contributor

In #218 , @esheldon introduced get_detection_mask function, which sets the config depending on the Exposure data. This interferes with the upcoming refactoring indicated in #220 , since config values must be set before any data is processed. The minimally distruptive solution seems to be making the input argument optional. Based on this, BRIGHT mask plane is also deprecated, so I don't expect any issues because of not providing the input argument.

@beckermr
Copy link
Collaborator

beckermr commented Oct 4, 2024

I need to understand the refactoring before I can comment further on this.

@arunkannawadi
Copy link
Contributor Author

Does the refactoring aspect matter here? All the call in this repo can still pass the argument.

Copy link
Collaborator

@beckermr beckermr left a comment

Choose a reason for hiding this comment

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

Good point. Lgtm!

@esheldon esheldon merged commit 736f168 into esheldon:master Oct 4, 2024
6 checks passed
@arunkannawadi arunkannawadi deleted the u/arunkannawadi/get_detection_mask branch October 4, 2024 13:54
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.

3 participants