comparison tomo_reduce.py @ 13:e4963769076b draft

planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
author rv43
date Tue, 21 Mar 2023 14:07:35 +0000
parents fa511fc2cfd5
children e89919e468cd
comparison
equal deleted inserted replaced
12:fa511fc2cfd5 13:e4963769076b
16 parser = argparse.ArgumentParser( 16 parser = argparse.ArgumentParser(
17 description='Reduce tomography data') 17 description='Reduce tomography data')
18 parser.add_argument('-i', '--input_file', 18 parser.add_argument('-i', '--input_file',
19 required=True, 19 required=True,
20 type=pathlib.Path, 20 type=pathlib.Path,
21 help='''Full or relative path to the input file (in yaml or nxs format).''') 21 help='''Full or relative path to the input file (in yaml or Nexus format).''')
22 parser.add_argument('-o', '--output_file', 22 parser.add_argument('-o', '--output_file',
23 required=True, 23 required=True,
24 type=pathlib.Path, 24 type=pathlib.Path,
25 help='''Full or relative path to the output file (in Nexus format).''') 25 help='''Full or relative path to the output file (in Nexus format).''')
26 parser.add_argument('--galaxy_flag', 26 parser.add_argument('--galaxy_flag',
90 # logging.info(f'Memory usage: {tracemalloc.get_traced_memory()}') 90 # logging.info(f'Memory usage: {tracemalloc.get_traced_memory()}')
91 91
92 # Stop memory monitoring 92 # Stop memory monitoring
93 # tracemalloc.stop() 93 # tracemalloc.stop()
94 94
95 logger.info('Completed tomography data reduction')
96
97
95 if __name__ == "__main__": 98 if __name__ == "__main__":
96 __main__() 99 __main__()