comparison COBRAxy/custom_data_generator.py @ 372:d0a307c3ae36 draft

Uploaded
author francesco_lapi
date Fri, 05 Sep 2025 00:19:08 +0000
parents 33ff7b04a022
children 72f592fe1f7d
comparison
equal deleted inserted replaced
371:7c06cd54d4e4 372:d0a307c3ae36
258 258
259 259
260 #### 260 ####
261 261
262 if ARGS.output_format == "xlsx": 262 if ARGS.output_format == "xlsx":
263 if not ARGS.out_xlsx.lower().endswith(".xlsx"): 263 #if not ARGS.out_xlsx.lower().endswith(".xlsx"):
264 ARGS.out_xlsx += ".xlsx" 264 # ARGS.out_xlsx += ".xlsx"
265 265
266 merged.to_excel(ARGS.out_xlsx, index=False) 266 merged.to_excel(ARGS.out_xlsx, index=False)
267 else: 267 else:
268 merged.to_csv(ARGS.out_tabular, sep="\t", index=False) 268 merged.to_csv(ARGS.out_tabular, sep="\t", index=False)
269 269