Mercurial > repos > rv43 > tomo
diff tomo_find_center.py @ 71:1cf15b61cd83 draft
planemo upload for repository https://github.com/rolfverberg/galaxytools commit 366e516aef0735af2998c6ff3af037181c8d5213
author | rv43 |
---|---|
date | Mon, 20 Mar 2023 13:56:57 +0000 |
parents | fba792d5f83b |
children | d5e1d4ea2b7e |
line wrap: on
line diff
--- a/tomo_find_center.py Fri Mar 10 16:39:22 2023 +0000 +++ b/tomo_find_center.py Mon Mar 20 13:56:57 2023 +0000 @@ -24,7 +24,6 @@ type=pathlib.Path, help='''Full or relative path to the output file (in yaml format).''') parser.add_argument('--center_rows', - required=True, nargs=2, type=int, help='''Center finding rows.''') @@ -81,7 +80,7 @@ data = tomo.read(args.input_file) # Find the calibrated center axis info - data = tomo.find_centers(data, center_rows=tuple(args.center_rows)) + data = tomo.find_centers(data, center_rows=args.center_rows) # Write output file data = tomo.write(data, args.output_file)