From a2852d5754b19183f4858988c5e459ac9c98a037 Mon Sep 17 00:00:00 2001 From: algol Date: Tue, 19 May 2026 15:46:06 +0100 Subject: [PATCH 1/2] adding a barrier --- httomo/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httomo/cli.py b/httomo/cli.py index 8cfd9a3d1..4c58814a2 100644 --- a/httomo/cli.py +++ b/httomo/cli.py @@ -267,6 +267,8 @@ def run( if global_comm.rank == 0: initialise_output_directory(pipeline, does_contain_sweep) + global_comm.Barrier() + setup_logger(Path(httomo.globals.run_out_dir)) # Convert string to enum From e4801d82e97499991d624a86981ee864cf43ec93 Mon Sep 17 00:00:00 2001 From: algol Date: Wed, 20 May 2026 12:06:22 +0100 Subject: [PATCH 2/2] linting --- httomo/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/httomo/cli.py b/httomo/cli.py index 4c58814a2..9817763fa 100644 --- a/httomo/cli.py +++ b/httomo/cli.py @@ -268,7 +268,7 @@ def run( initialise_output_directory(pipeline, does_contain_sweep) global_comm.Barrier() - + setup_logger(Path(httomo.globals.run_out_dir)) # Convert string to enum