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

Dev #276

Merged
merged 3 commits into from
May 13, 2024
Merged

Dev #276

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pynapple/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ def is_array_like(obj):
try:
obj[0]
is_indexable = True
except (TypeError, IndexError):
except Exception:
is_indexable = False

# Check for iterable property
try:
iter(obj)
is_iterable = True
except TypeError:
except Exception:
is_iterable = False

# not_tsd_type = not isinstance(obj, _AbstractTsd)
Expand Down
Loading