Mercurial > repos > bimib > cobraxy
comparison COBRAxy/custom_data_generator.py @ 348:25862d166f88 draft
Uploaded
author | francesco_lapi |
---|---|
date | Thu, 04 Sep 2025 22:41:30 +0000 |
parents | 4165326259cc |
children | 6f1065c00211 |
comparison
equal
deleted
inserted
replaced
347:bae19cd2194f | 348:25862d166f88 |
---|---|
264 # 'tabular' -> tab-separated, extension .csv is fine and common for Galaxy tabular | 264 # 'tabular' -> tab-separated, extension .csv is fine and common for Galaxy tabular |
265 if not (out_data_path.lower().endswith(".csv") or out_data_path.lower().endswith(".tsv")): | 265 if not (out_data_path.lower().endswith(".csv") or out_data_path.lower().endswith(".tsv")): |
266 out_data_path = out_data_path + ".csv" | 266 out_data_path = out_data_path + ".csv" |
267 merged.to_csv(out_data_path, sep="\t", index=False) | 267 merged.to_csv(out_data_path, sep="\t", index=False) |
268 | 268 |
269 print(f"Custom data generated for model '{model_name}' and saved to '{out_data_path}'") | |
269 | 270 |
270 if __name__ == '__main__': | 271 if __name__ == '__main__': |
271 main() | 272 main() |