Mercurial > repos > bimib > cobraxy
comparison COBRAxy/metabolicModel2Tabular.py @ 502:054c872e3880 draft
Uploaded
author | francesco_lapi |
---|---|
date | Tue, 30 Sep 2025 17:18:55 +0000 |
parents | df90f40a156c |
children | ffc234ec80db |
comparison
equal
deleted
inserted
replaced
501:9bfd1ec3ae6f | 502:054c872e3880 |
---|---|
273 target_nomenclature=ARGS.gene_format, | 273 target_nomenclature=ARGS.gene_format, |
274 source_nomenclature='HGNC_symbol', | 274 source_nomenclature='HGNC_symbol', |
275 logger=logger | 275 logger=logger |
276 ) | 276 ) |
277 | 277 |
278 if ARGS.name == "Custom_model" and ARGS.gene_format != "Default": | 278 if ARGS.input and ARGS.gene_format != "Default": |
279 logging.basicConfig(level=logging.INFO) | 279 logging.basicConfig(level=logging.INFO) |
280 logger = logging.getLogger(__name__) | 280 logger = logging.getLogger(__name__) |
281 | 281 |
282 # Take a small, clean sample of gene IDs (skipping placeholders like 0) | 282 # Take a small, clean sample of gene IDs (skipping placeholders like 0) |
283 ids_sample = sample_valid_gene_ids(model.genes, limit=10) | 283 ids_sample = sample_valid_gene_ids(model.genes, limit=10) |