From 7709040bd789445ff48e24581fa2f31a112d56cc Mon Sep 17 00:00:00 2001 From: Yousef Moazzam Date: Thu, 2 Apr 2026 09:43:59 +0100 Subject: [PATCH] Apply `black` code formatter --- httomo/cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/httomo/cli.py b/httomo/cli.py index cefee2830..c9cd7756b 100644 --- a/httomo/cli.py +++ b/httomo/cli.py @@ -323,12 +323,15 @@ def _set_gpu_id(gpu_id: int): cp.cuda.Device(gpu_id).use() else: - log_once("CuPy is installed but the GPU device is inaccessible. Only CPU pipelines would work.") + log_once( + "CuPy is installed but the GPU device is inaccessible. Only CPU pipelines would work." + ) httomo.globals.gpu_id = gpu_id except ImportError as e: log_exception(f"CuPy is not installed {e}. Only CPU pipelines would work.") + def set_global_constants( out_dir: Path, intermediate_format: str,