From f41b88dcbe37ac189f5b13cc557d4da00e91256d Mon Sep 17 00:00:00 2001 From: misi9170 Date: Tue, 4 Feb 2025 17:22:03 -0700 Subject: [PATCH] Add back print_dict as a wrapper for show_config to avoid breaking user interface changes. --- floris/floris_model.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/floris/floris_model.py b/floris/floris_model.py index a4cf42e83..edf987081 100644 --- a/floris/floris_model.py +++ b/floris/floris_model.py @@ -1651,6 +1651,14 @@ def show_config(self, full=False) -> None: del config_dict["wake"]["wake_turbulence_parameters"] print_nested_dict(config_dict) + def print_dict(self) -> None: + """Print the FlorisModel dictionary. + """ + self.logger.warning( + "The print_dict() method has been deprecated." + " Please use the show_config() method instead." + ) + self.show_config(full=True) ### Properties