diff 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
line wrap: on
line diff
--- a/msmetaenhancer_wrapper.py	Thu Oct 12 13:30:31 2023 +0000
+++ b/msmetaenhancer_wrapper.py	Tue Apr 16 11:23:32 2024 +0000
@@ -56,7 +56,10 @@
     if args.file_format == 'xlsx':
         handle_xlsx_file(app, args.output_file)
     else:
-        app.save_data(args.output_file, file_format=args.file_format)
+        if args.file_format == 'csv':
+            app.save_data(args.output_file, file_format="tsv")
+        else:
+            app.save_data(args.output_file, file_format=args.file_format)
     return 0