From 42abfed2dddb635dba097e6aab359ba08cb0557e Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Mon, 29 Apr 2024 23:19:57 -0400 Subject: [PATCH] fix issue of not passing freq_range through in BaseModel --- specparam/objs/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specparam/objs/base.py b/specparam/objs/base.py index aa9450f7..94595633 100644 --- a/specparam/objs/base.py +++ b/specparam/objs/base.py @@ -145,7 +145,7 @@ def add_data(self, freqs, power_spectrum, freq_range=None, clear_results=True): # Clear results, if present, unless indicated not to self._reset_results(clear_results=self.has_model and clear_results) - super().add_data(freqs, power_spectrum, freq_range=None) + super().add_data(freqs, power_spectrum, freq_range=freq_range) @copy_doc_func_to_method(save_model)