# HG changeset patch # User francesco_lapi # Date 1757028472 0 # Node ID 820befcfb42fbbaf7b9e68db6b5d12de0a44af33 # Parent 3fc99f6b7668fb7c693234788e1dfeec26bdf45f Uploaded diff -r 3fc99f6b7668 -r 820befcfb42f COBRAxy/custom_data_generator.py --- a/COBRAxy/custom_data_generator.py Thu Sep 04 23:19:54 2025 +0000 +++ b/COBRAxy/custom_data_generator.py Thu Sep 04 23:27:52 2025 +0000 @@ -22,8 +22,6 @@ parser.add_argument("--out_log", type=str, required=True, help="Output log file") - parser.add_argument("--out_data", type=str, required=True, - help="Single output dataset (CSV or Excel)") parser.add_argument("--model", type=str, help="Built-in model identifier (e.g., ENGRO2, Recon, HMRcore)") @@ -251,13 +249,13 @@ merged = merged.sort_values(by = "InMedium", ascending = False) - out_file = os.path.join(ARGS.output_path, f"{os.path.basename(ARGS.name).split('.')[0]}_custom_data") + #out_file = os.path.join(ARGS.output_path, f"{os.path.basename(ARGS.name).split('.')[0]}_custom_data") #merged.to_csv(out_file, sep = '\t', index = False) #### - out_data_path = ARGS.out_data + out_data_path = ARGS.output_path if ARGS.output_format == "xlsx": merged.to_excel(out_data_path, index=False)