Skip to content

Commit 05eebd4

Browse files
committed
fix: delete FOOOFRunModes object because namedtuple can't handle string format
1 parent 188aa5f commit 05eebd4

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

fooof/data/data.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,6 @@ class FOOOFSettings(namedtuple('FOOOFSettings', ['peak_width_limits', 'max_n_pea
3838
__slots__ = ()
3939

4040

41-
class FOOOFRunModes(namedtuple('FOOOFRunModes', ['_debug', '_check_freqs',
42-
'_check_data'])):
43-
"""Checks performed and errors raised by the model.
44-
45-
Parameters
46-
----------
47-
_debug : bool
48-
Whether to run in debug mode.
49-
_check_freqs : bool
50-
Whether to run in check freqs mode.
51-
_check_data : bool
52-
Whether to run in check data mode.
53-
Notes
54-
-----
55-
This object is a data object, based on a NamedTuple, with immutable data attributes.
56-
"""
57-
__slots__ = ()
58-
59-
6041
class FOOOFMetaData(namedtuple('FOOOFMetaData', ['freq_range', 'freq_res'])):
6142
"""Metadata information about a power spectrum.
6243

0 commit comments

Comments
 (0)