You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These lines seem like they are ran regardless of whether or not treeple.stats is used, since they are in the global namespace.
if BOTTLENECK_AVAILABLE and DISABLE_BN_ENV_VAR not in os.environ:
nanmean_f = bn.nanmean
anynan_f = lambda arr: bn.anynan(arr, axis=2)
else:
warnings.warn(
"Not using bottleneck for calculations involvings nans. Expect slower performance."
)
nanmean_f = np.nanmean
anynan_f = lambda arr: np.isnan(arr).any(axis=2)
so I get this warning consistently no matter what
/Users/adam2392/Documents/treeple/treeple/stats/utils.py:34: UserWarning: Not using bottleneck for calculations involvings nans. Expect slower performance.
warnings.warn(
@ryanhausen do you mind submitting a PR to patch this behavior?
The text was updated successfully, but these errors were encountered:
These lines seem like they are ran regardless of whether or not treeple.stats is used, since they are in the global namespace.
so I get this warning consistently no matter what
@ryanhausen do you mind submitting a PR to patch this behavior?
The text was updated successfully, but these errors were encountered: