Mercurial > repos > bimib > cobraxy
comparison COBRAxy/custom_data_generator.py @ 369:acab8c8e7d6c draft
Uploaded
author | francesco_lapi |
---|---|
date | Thu, 04 Sep 2025 23:54:26 +0000 |
parents | 0961c8a27939 |
children | 33ff7b04a022 |
comparison
equal
deleted
inserted
replaced
368:da9a1bced55b | 369:acab8c8e7d6c |
---|---|
257 | 257 |
258 | 258 |
259 #### | 259 #### |
260 | 260 |
261 if ARGS.output_format == "xlsx": | 261 if ARGS.output_format == "xlsx": |
262 if not ARGS.out_xlsx.lower().endswith(".xlsx"): | |
263 ARGS.out_xlsx += ".xlsx" | |
264 | |
262 merged.to_excel(ARGS.out_xlsx, index=False) | 265 merged.to_excel(ARGS.out_xlsx, index=False) |
263 else: | 266 else: |
264 merged.to_csv(ARGS.out_tabular, sep="\t", index=False) | 267 merged.to_csv(ARGS.out_tabular, sep="\t", index=False) |
265 | 268 |
266 print("CustomDataGenerator: completed successfully") | 269 print("CustomDataGenerator: completed successfully") |