Skip to content

Commit 7f2bca4

Browse files
committed
fix / update to ModelRunModes
1 parent 23f3d57 commit 7f2bca4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

specparam/data/conversions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ def group_to_dict(fit_results, peak_org):
9090
9191
Parameters
9292
----------
93-
fit_results : list of FOOOFResults
94-
List of FOOOFResults objects.
93+
fit_results : list of FitResults
94+
List of FitResults objects.
9595
peak_org : int or Bands
9696
How to organize peaks.
9797
If int, extracts the first n peaks.

specparam/objs/fit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,11 +575,11 @@ def get_run_modes(self):
575575
576576
Returns
577577
-------
578-
FOOOFRunModes
578+
ModelRunModes
579579
Object containing the run modes from the current object.
580580
"""
581581

582-
return FOOOFRunModes(**{key.strip('_') : getattr(self, key) \
582+
return ModelRunModes(**{key.strip('_') : getattr(self, key) \
583583
for key in OBJ_DESC['run_modes']})
584584

585585

0 commit comments

Comments
 (0)