Mercurial > repos > bimib > cobraxy
diff COBRAxy/custom_data_generator_beta.py @ 445:c3bb75ce07e6 draft
Uploaded
author | francesco_lapi |
---|---|
date | Thu, 11 Sep 2025 09:08:15 +0000 |
parents | 06564187fba3 |
children | a6e45049c1b9 |
line wrap: on
line diff
--- a/COBRAxy/custom_data_generator_beta.py Thu Sep 11 09:03:10 2025 +0000 +++ b/COBRAxy/custom_data_generator_beta.py Thu Sep 11 09:08:15 2025 +0000 @@ -193,7 +193,7 @@ model = modelUtils.translate_model_genes( model=model, mapping_df= pd.read_csv(ARGS.tool_dir + "/local/mappings/genes_human.csv", dtype={'entrez_id': str}), - target_nomenclature=ARGS.gene_format.replace("HGNC_", "HGNC "), + target_nomenclature=ARGS.gene_format, source_nomenclature='HGNC_symbol', logger=logger )