Mercurial > repos > bimib > cobraxy
changeset 369:acab8c8e7d6c draft default tip
Uploaded
author | francesco_lapi |
---|---|
date | Thu, 04 Sep 2025 23:54:26 +0000 |
parents | da9a1bced55b |
children | |
files | COBRAxy/custom_data_generator.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/custom_data_generator.py Thu Sep 04 23:51:05 2025 +0000 +++ b/COBRAxy/custom_data_generator.py Thu Sep 04 23:54:26 2025 +0000 @@ -259,6 +259,9 @@ #### if ARGS.output_format == "xlsx": + if not ARGS.out_xlsx.lower().endswith(".xlsx"): + ARGS.out_xlsx += ".xlsx" + merged.to_excel(ARGS.out_xlsx, index=False) else: merged.to_csv(ARGS.out_tabular, sep="\t", index=False)