While working with @alessiodacapito using fidder to erase membranes, we encountered a bug where estimate_local_mean would fail with a TypeError. Basically, due to how the comparison was done, n_samples_for_fit would end up being True instead of an integer ^^'
While working with @alessiodacapito using fidder to erase membranes, we encountered a bug where
estimate_local_mean
would fail with aTypeError
. Basically, due to how the comparison was done,n_samples_for_fit
would end up beingTrue
instead of an integer ^^'We just simplified the code by using
min
.