Skip to content

Commit

Permalink
disable progress_bar in data_processing task
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustinMortier committed Sep 25, 2024
1 parent 074cc86 commit 36e0781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aprofiles/cli/aprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def main(
if update_data:
if multiprocessing:
with Progress() as progress:
task = progress.add_task(f"{date.strftime('%Y-%m-%d')} :rocket:", total=len(onlyfiles))
task = progress.add_task(f"{date.strftime('%Y-%m-%d')} :rocket:", total=len(onlyfiles), visible=not disable_progress_bar)
with concurrent.futures.ProcessPoolExecutor(max_workers=workers) as executor:
futures = [executor.submit(
utils.workflow.workflow,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aprofiles"
version = "0.8.1"
version = "0.8.2"
description = "Analysis of atmospheric profilers measurements"
authors = ["augustinm <[email protected]>"]
license = "GPL-3.0"
Expand Down

0 comments on commit 36e0781

Please sign in to comment.