Mercurial > repos > rv43 > chess_tomo
changeset 28:562fc79de827 draft
planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
| author | rv43 |
|---|---|
| date | Tue, 21 Mar 2023 17:59:41 +0000 |
| parents | 7d9cf7592ad1 |
| children | 551d1ea2416d |
| files | workflow/run_tomo.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)
