Mercurial > repos > recetox > msmetaenhancer
comparison msmetaenhancer_wrapper.py @ 14:646ef66527da draft default tip
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/msmetaenhancer commit 187cd20cfa1502639fa2678dbcd69d2f3158d436
author | recetox |
---|---|
date | Thu, 29 May 2025 11:21:26 +0000 |
parents | 791bf4d9b06c |
children |
comparison
equal
deleted
inserted
replaced
13:b5467dead5b1 | 14:646ef66527da |
---|---|
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 if args.file_format == 'csv': | 59 if args.file_format in ['csv', 'tsv', 'tabular']: |
60 app.save_data(args.output_file, file_format="tsv") | 60 app.save_data(args.output_file, file_format="tsv") |
61 else: | 61 else: |
62 app.save_data(args.output_file, file_format=args.file_format) | 62 app.save_data(args.output_file, file_format=args.file_format) |
63 return 0 | 63 return 0 |
64 | 64 |