Mercurial > repos > rv43 > tomo
comparison tomo_reduce.py @ 75:d5e1d4ea2b7e draft default tip
planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
author | rv43 |
---|---|
date | Thu, 23 Mar 2023 13:39:14 +0000 |
parents | 4f4ee8db5f67 |
children |
comparison
equal
deleted
inserted
replaced
74:4f4ee8db5f67 | 75:d5e1d4ea2b7e |
---|---|
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 logging.info('Completed tomography data reduction') | |
96 | |
97 | |
95 if __name__ == "__main__": | 98 if __name__ == "__main__": |
96 __main__() | 99 __main__() |