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

Exception handling for empty fooof object #1

Open
2 tasks
ChristianGerloff opened this issue Feb 10, 2022 · 0 comments
Open
2 tasks

Exception handling for empty fooof object #1

ChristianGerloff opened this issue Feb 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ChristianGerloff
Copy link
Owner

If the error of the null model fit fooof_results.error in fooof.m is empty, the fooof function terminates and does not throw any warning. This happens if the model fit fails.
See also fooof-tools#18

Actual behavior

Fooof function breaks.

Expected behavior / Suggestion

  • provide warning if model fit fails
  • return current object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant