Closed ctuguinay closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.97%. Comparing base (
7679b96
) to head (0b67ea6
). Report is 55 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Original Checklist
Remove np.ndarray from allowed type for fill_value
keep_unmasked_channel: bool = True
Further Changes
keep_unmasked_channel
)Thanks for the review @leewujung!
Yeah, I agree with you on there being too many cases that this code tries to accommodate. I also agree with you on all suggestions you posed.
Just to get the cases in order, once we get to the post-broadcast post-logical-reduce stage (once we get to here https://github.com/ctuguinay/echopype/blob/e52e05f33a82d1700d24f5c58d072fe15d319136/echopype/mask/api.py#L335), I should pass only the following:
@leewujung This PR should be ready to review again
@leewujung I just committed your suggestions, and this should be ready to merge. Thank you for making the docstring more precise! I think I wrote that right after I got tests working so I was at the point of complete familiarity, and I didn't stop to think whether or not someone new could understand it. I will work on that 👍
Thanks @ctuguinay , I'll merge this now! 🎉
Oops, I just realized that you target main
and not dev
, and I used squash and merge. I may have to do hard reset and ask you to another PR...
Looks like there's no compounding changes from other PRs that have been merged to dev
, so this should be ok. We want to simplify our dev workflow anyway #1275 so this forces us to do it, ha.
This PR is meant to address #1204 and #1224.