Mercurial > repos > recetox > msmetaenhancer
comparison msmetaenhancer_wrapper.py @ 13:f4a90c68e2de draft default tip
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/msmetaenhancer commit 1d1ecf792f5ea1c8a8f443dd1c3f55c810c5b00d
author | recetox |
---|---|
date | Mon, 27 May 2024 12:40:12 +0000 |
parents | 25319f346ad4 |
children |
comparison
equal
deleted
inserted
replaced
12:5de89437323f | 13:f4a90c68e2de |
---|---|
54 | 54 |
55 # export spectra file | 55 # export spectra file |
56 if args.file_format == 'xlsx': | 56 if args.file_format == 'xlsx': |
57 handle_xlsx_file(app, args.output_file) | 57 handle_xlsx_file(app, args.output_file) |
58 else: | 58 else: |
59 app.save_data(args.output_file, file_format=args.file_format) | 59 if args.file_format == 'csv': |
60 app.save_data(args.output_file, file_format="tsv") | |
61 else: | |
62 app.save_data(args.output_file, file_format=args.file_format) | |
60 return 0 | 63 return 0 |
61 | 64 |
62 | 65 |
63 if __name__ == "__main__": | 66 if __name__ == "__main__": |
64 main(argv=sys.argv[1:]) | 67 main(argv=sys.argv[1:]) |