comparison COBRAxy/ras_generator.py @ 46:edc096339f0d draft

Uploaded
author bimib
date Tue, 08 Oct 2024 17:04:09 +0000
parents 95d67e76d647
children 7b07b05bdb5d
comparison
equal deleted inserted replaced
45:95d67e76d647 46:edc096339f0d
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
235 utils.logWarning(f"{args.tool_dir}'/local/pickle files/ENGRO2_genes.p'", ARGS.out_log)
235 print(args.rules_selector) 236 print(args.rules_selector)
236 gene_in_rule = gene_in_rule.get(type_gene) 237 gene_in_rule = gene_in_rule.get(type_gene)
237 238
238 else: 239 else:
239 gene_in_rule = gene_custom 240 gene_in_rule = gene_custom