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
This is an easy fix, but I don't have time to do it right this moment so I just wanted to make a note.
Description
Inputting something other than an obspy Catalog or Event to obsplus.utils.events.strip_events with raise a recursion depth error due to inadequate type checking.
To Reproduce
Pass anything to obsplus.utils.events.strip_events other than a Catalog or Event object.
Expected behavior
Should raise a TypeError instead.
Versions (please complete the following information):
Affects all versions.
The text was updated successfully, but these errors were encountered:
This is an easy fix, but I don't have time to do it right this moment so I just wanted to make a note.
Description
Inputting something other than an obspy Catalog or Event to
obsplus.utils.events.strip_events
with raise a recursion depth error due to inadequate type checking.To Reproduce
Pass anything to
obsplus.utils.events.strip_events
other than a Catalog or Event object.Expected behavior
Should raise a TypeError instead.
Versions (please complete the following information):
Affects all versions.
The text was updated successfully, but these errors were encountered: