We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The culprit is in nanops.py, line 17 (some extra lines shown for context):
try: import bottleneck as bn _USE_BOTTLENECK = True except ImportError: # pragma: no cover _USE_BOTTLENECK = False def _bottleneck_switch(bn_name, alt, **kwargs): try: bn_func = getattr(bn, bn_name)
bn is only defined if bottleneck is imported and the try statement doesn't catch the NameError that ensues (only AttributeError).
bn
try
The text was updated successfully, but these errors were encountered:
5602b98
Related to a change I made minutes ago. Catching both AttributeError and NameError now
Sorry, something went wrong.
No branches or pull requests
The culprit is in nanops.py, line 17 (some extra lines shown for context):
bn
is only defined if bottleneck is imported and thetry
statement doesn't catch the NameError that ensues (only AttributeError).The text was updated successfully, but these errors were encountered: