Skip to content

Commit

Permalink
fix: delete FOOOFRunModes object because namedtuple can't handle stri…
Browse files Browse the repository at this point in the history
…ng format
  • Loading branch information
SM-Figueroa committed Jul 22, 2023
1 parent 188aa5f commit 05eebd4
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions fooof/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,6 @@ class FOOOFSettings(namedtuple('FOOOFSettings', ['peak_width_limits', 'max_n_pea
__slots__ = ()


class FOOOFRunModes(namedtuple('FOOOFRunModes', ['_debug', '_check_freqs',
'_check_data'])):
"""Checks performed and errors raised by the model.
Parameters
----------
_debug : bool
Whether to run in debug mode.
_check_freqs : bool
Whether to run in check freqs mode.
_check_data : bool
Whether to run in check data mode.
Notes
-----
This object is a data object, based on a NamedTuple, with immutable data attributes.
"""
__slots__ = ()


class FOOOFMetaData(namedtuple('FOOOFMetaData', ['freq_range', 'freq_res'])):
"""Metadata information about a power spectrum.
Expand Down

0 comments on commit 05eebd4

Please sign in to comment.