-
Notifications
You must be signed in to change notification settings - Fork 69
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
Segmentation Faults on Small Datasets #19
Comments
Thanks for the clear description. Would indeed be preferable to have the behavior you describe (for features that require a minimum length, adding an early catch for time-series length with a NaN output if under minimum length) would help avoid seg faults. @chlubba do you have bandwidth? Otherwise @hendersontrent might be able to help. |
There is some code @chlubba wrote in |
Hi @evanharwin, @hendersontrent and @benfulcher, what you, @hendersontrent, proposed, namely to add the check in the core wrapping functions, makes the most sense to me. I could find the time to do this in ~2 weeks. If you are able to add this check earlier, thanks for doing so! Best, |
I just ran each feature individually in |
What Happened
Get a segmentation fault when running
catch22.catch22_all
on short lists/numpy.arrays.What I Expected to Happen
Returns a dictionary of features (perhaps with a lot of NaN-types due to the short timeseries)
Minimum Complete Verifable Example
Further Details
Can check that this doesn't happen with longer arrays like so:
The text was updated successfully, but these errors were encountered: