# HG changeset patch # User francesco_lapi # Date 1757030066 0 # Node ID acab8c8e7d6c40745feb5e99c3cd0b01bce0dff8 # Parent da9a1bced55bf0fdfac8e6ed95a40e95d8c8f3ae Uploaded diff -r da9a1bced55b -r acab8c8e7d6c COBRAxy/custom_data_generator.py --- 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)