comparison COBRAxy/ras_generator.py @ 47:7b07b05bdb5d draft

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