From 4a96c3ced71b43d25fb80165057a79f0a6d2b8f3 Mon Sep 17 00:00:00 2001 From: Faiz Surani Date: Wed, 24 Apr 2024 11:47:45 -0700 Subject: [PATCH] Make progress transient --- rl/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rl/cli/main.py b/rl/cli/main.py index 20ed367..770864a 100644 --- a/rl/cli/main.py +++ b/rl/cli/main.py @@ -310,7 +310,7 @@ def create_batch_job(sbatch_args, name, job_time): @_must_run_on_sherlock def _get_all_jobs(show_progress=False): if show_progress: - with rich.progress.Progress() as progress: + with rich.progress.Progress(transient=True) as progress: # noinspection PyTypeChecker task = progress.add_task( "[green]Checking jobs in queue...[/green]", total=None