comparison msmetaenhancer_wrapper.py @ 11:791bf4d9b06c draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/msmetaenhancer commit 17a9f7a879086d08cd5e8ce11f2eb22f1e054ea5
author recetox
date Tue, 16 Apr 2024 11:23:32 +0000
parents 2ada1099f42e
children
comparison
equal deleted inserted replaced
10:3e2cb0bc6959 11:791bf4d9b06c
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:])