Mercurial > repos > rv43 > chess_tomo
comparison tomo_reduce.py @ 12:fa511fc2cfd5 draft
planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c
| author | rv43 |
|---|---|
| date | Tue, 21 Mar 2023 13:39:37 +0000 |
| parents | 05335876d167 |
| children | e4963769076b |
comparison
equal
deleted
inserted
replaced
| 11:9c48ef48c604 | 12:fa511fc2cfd5 |
|---|---|
| 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(f'data:\n{data.tree}') | |
| 83 return | |
| 84 | 82 |
| 85 # Generate reduced tomography images | 83 # Generate reduced tomography images |
| 86 data = tomo.gen_reduced_data(data, img_x_bounds=args.img_x_bounds) | 84 data = tomo.gen_reduced_data(data, img_x_bounds=args.img_x_bounds) |
| 87 | 85 |
| 88 # Write output file | 86 # Write output file |
