Mercurial > repos > bimib > cobraxy
comparison COBRAxy/ras_generator.py @ 41:a1ab05a70185 draft
Uploaded
author | bimib |
---|---|
date | Tue, 08 Oct 2024 16:39:55 +0000 |
parents | 41f35c2f0c7b |
children | ec7d0f8d34e4 |
comparison
equal
deleted
inserted
replaced
40:353900710405 | 41:a1ab05a70185 |
---|---|
229 elif args.rules_selector == 'Recon': | 229 elif args.rules_selector == 'Recon': |
230 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/Recon_genes.p', 'rb')) | 230 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/Recon_genes.p', 'rb')) |
231 | 231 |
232 elif args.rules_selector == 'ENGRO2': | 232 elif args.rules_selector == 'ENGRO2': |
233 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/ENGRO2_genes.p', 'rb')) | 233 gene_in_rule = pk.load(open(args.tool_dir + '/local/pickle files/ENGRO2_genes.p', 'rb')) |
234 | 234 print(gene_in_rule) |
235 print(type_gene) | |
235 gene_in_rule = gene_in_rule.get(type_gene) | 236 gene_in_rule = gene_in_rule.get(type_gene) |
236 | 237 |
237 else: | 238 else: |
238 gene_in_rule = gene_custom | 239 gene_in_rule = gene_custom |
239 tmp = [] | 240 tmp = [] |