# HG changeset patch # User rv43 # Date 1679421581 0 # Node ID 562fc79de827b91b289933dc0ff495cc5cae2a64 # Parent 7d9cf7592ad10ef0081b3f724e455cf98d20d5fb planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty diff -r 7d9cf7592ad1 -r 562fc79de827 workflow/run_tomo.py --- a/workflow/run_tomo.py Tue Mar 21 17:56:17 2023 +0000 +++ b/workflow/run_tomo.py Tue Mar 21 17:59:41 2023 +0000 @@ -993,7 +993,7 @@ img_x_bounds[0] = 0 if img_x_bounds[1] == -1: img_x_bounds[1] = first_image.shape[0] - if is_index_range(img_x_bounds, ge=0, le=first_image.shape[0]): + if not is_index_range(img_x_bounds, ge=0, le=first_image.shape[0]): raise ValueError(f'Invalid parameter img_x_bounds ({img_x_bounds})') else: quick_imshow(first_image, title=title)