From f487b13987d10cde36b18972ffd2c088c5de0a1e Mon Sep 17 00:00:00 2001 From: David Northover Date: Mon, 17 Mar 2025 17:50:39 -0400 Subject: [PATCH] Load slice options correctly for backprojection cli. - Loads from slice options parameter listed in the backprojection options json. --- python/ouroboros/cli.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/ouroboros/cli.py b/python/ouroboros/cli.py index 5c5ee95..96cda44 100644 --- a/python/ouroboros/cli.py +++ b/python/ouroboros/cli.py @@ -92,7 +92,9 @@ def handle_slice(args): def handle_backproject(args): backproject_options = BackprojectOptions.load_from_json(args.options) - pipeline, input_data = backproject_pipeline(backproject_options, True) + slice_options = SliceOptions.load_from_json(backproject_options.slice_options_path) + + pipeline, input_data = backproject_pipeline(backproject_options, slice_options, True) _, error = pipeline.process(input_data)