Skip to content

Commit

Permalink
fix for model object
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 6, 2024
1 parent f902ac6 commit a1880d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specparam/objs/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from specparam.core.errors import NoModelError
from specparam.core.strings import gen_settings_str, gen_model_results_str, gen_issue_str
from specparam.plts.model import plot_model
from specparam.data.utils import get_model_params
from specparam.data.conversions import model_to_dataframe
from specparam.sim.gen import gen_model

Expand Down Expand Up @@ -229,10 +230,9 @@ def plot(self, plot_peaks=None, plot_aperiodic=True, freqs=None, power_spectrum=


@copy_doc_func_to_method(save_model_report)
def save_report(self, file_name, file_path=None, plt_log=False,
add_settings=True, **plot_kwargs):
def save_report(self, file_name, file_path=None, add_settings=True, **plot_kwargs):

save_model_report(self, file_name, file_path, plt_log, add_settings, **plot_kwargs)
save_model_report(self, file_name, file_path, add_settings, **plot_kwargs)


@copy_doc_func_to_method(save_model)
Expand Down

0 comments on commit a1880d0

Please sign in to comment.