From 5946e91ef172480fd3d577361f272be7f2ce174e Mon Sep 17 00:00:00 2001 From: Atharva Arya Date: Fri, 7 Jan 2022 18:09:38 +0530 Subject: [PATCH 1/2] Disable progress bars and convergence plots by default --- tardis/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tardis/base.py b/tardis/base.py index b404145f296..b613636b729 100644 --- a/tardis/base.py +++ b/tardis/base.py @@ -12,10 +12,10 @@ def run_tardis( packet_source=None, simulation_callbacks=[], virtual_packet_logging=False, - show_convergence_plots=True, + show_convergence_plots=False, log_level=None, specific_log_level=None, - show_progress_bars=True, + show_progress_bars=False, **kwargs, ): """ @@ -51,9 +51,9 @@ def run_tardis( If True, only show the log messages from a particular log level, set by `log_level`. If False, the logger shows log messages belonging to the level set and all levels above it in severity. The default value None means that the `specific_log_level` specified in the configuration file will be used. - show_convergence_plots : bool, default: True, optional + show_convergence_plots : bool, default: False, optional Option to enable tardis convergence plots. - show_progress_bars : bool, default: True, optional + show_progress_bars : bool, default: False, optional Option to enable the progress bar. **kwargs : dict, optional Optional keyword arguments including those From bb06045fe5de74b80ea1545bb4c4695aeaf77bc4 Mon Sep 17 00:00:00 2001 From: atharva-2001 Date: Mon, 28 Feb 2022 21:17:52 +0530 Subject: [PATCH 2/2] Enable progress bars by default --- tardis/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tardis/base.py b/tardis/base.py index b613636b729..fd9b5457f3d 100644 --- a/tardis/base.py +++ b/tardis/base.py @@ -15,7 +15,7 @@ def run_tardis( show_convergence_plots=False, log_level=None, specific_log_level=None, - show_progress_bars=False, + show_progress_bars=True, **kwargs, ): """ @@ -53,7 +53,7 @@ def run_tardis( The default value None means that the `specific_log_level` specified in the configuration file will be used. show_convergence_plots : bool, default: False, optional Option to enable tardis convergence plots. - show_progress_bars : bool, default: False, optional + show_progress_bars : bool, default: True, optional Option to enable the progress bar. **kwargs : dict, optional Optional keyword arguments including those