Skip to content

Exception handling for empty fooof object  #1

@ChristianGerloff

Description

@ChristianGerloff

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

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions