# HG changeset patch # User francesco_lapi # Date 1757051675 0 # Node ID 72f592fe1f7deb7f27a3f2372ca54ca57b9c7e32 # Parent d0a307c3ae3656ebed39ca6fcb047f6e16ed95d8 Uploaded diff -r d0a307c3ae36 -r 72f592fe1f7d COBRAxy/custom_data_generator.py --- a/COBRAxy/custom_data_generator.py Fri Sep 05 00:19:08 2025 +0000 +++ b/COBRAxy/custom_data_generator.py Fri Sep 05 05:54:35 2025 +0000 @@ -39,10 +39,7 @@ parser.add_argument("--output_format", type=str, choices=["tabular", "xlsx"], required=True, help="Output format: CSV (tabular) or Excel (xlsx)") - parser.add_argument("--out_tabular", type=str, - help="Output file for the merged dataset (CSV or XLSX)") - - parser.add_argument("--out_xlsx", type=str, + parser.add_argument("--out_data", type=str, help="Output file for the merged dataset (CSV or XLSX)") parser.add_argument("--tool_dir", type=str, default=os.path.dirname(__file__), @@ -263,9 +260,9 @@ #if not ARGS.out_xlsx.lower().endswith(".xlsx"): # ARGS.out_xlsx += ".xlsx" - merged.to_excel(ARGS.out_xlsx, index=False) + merged.to_excel(ARGS.out_data, index=False) else: - merged.to_csv(ARGS.out_tabular, sep="\t", index=False) + merged.to_csv(ARGS.out_data, sep="\t", index=False) print("CustomDataGenerator: completed successfully")