Skip to content

Commit

Permalink
Merge pull request #276 from pynapple-org/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
gviejo authored May 13, 2024
2 parents a51825c + 65ebd52 commit 4555391
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 4555391

Please sign in to comment.