comparison tomo_reduce.py @ 6:05335876d167 draft

planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
author rv43
date Mon, 20 Mar 2023 19:01:48 +0000
parents 543dba81eb15
children fa511fc2cfd5
comparison
equal deleted inserted replaced
5:543dba81eb15 6:05335876d167
77 # Instantiate Tomo object 77 # Instantiate Tomo object
78 tomo = Tomo(galaxy_flag=args.galaxy_flag) 78 tomo = Tomo(galaxy_flag=args.galaxy_flag)
79 79
80 # Read input file 80 # Read input file
81 data = tomo.read(args.input_file) 81 data = tomo.read(args.input_file)
82 print('data:\n{data.tree}') 82 print(f'data:\n{data.tree}')
83 return 83 return
84 84
85 # Generate reduced tomography images 85 # Generate reduced tomography images
86 data = tomo.gen_reduced_data(data, img_x_bounds=args.img_x_bounds) 86 data = tomo.gen_reduced_data(data, img_x_bounds=args.img_x_bounds)
87 87