File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 31
31
flux = results [growth_rate ]["values" ][reaction_id ]
32
32
if flux > 1e-6 :
33
33
if reaction_id not in active_reactions :
34
- active_reactions .append (reaction_id )
34
+ active_reactions .append (
35
+ reaction_id
36
+ .replace ("_ORIGINAL_NADP_TCOSA" , "" )
37
+ .replace ("_ORIGINAL_NAD_TCOSA" , "" )
38
+ .replace ("_VARIANT_NAD_TCOSA" , "" )
39
+ .replace ("_VARIANT_NADP_TCOSA" , "" )
40
+ .replace ("_FWD" , "" )
41
+ .replace ("_REV" , "" )
42
+ )
35
43
print (active_reactions )
36
44
active_reactions = list (set (active_reactions ))
37
45
print (f"Num active reactions:" , len (active_reactions ))
Original file line number Diff line number Diff line change 114
114
id_optmdf_at_one = list (set (make_base (id_optmdf_at_one )))
115
115
id_optsubmdf_at_one = list (set (make_base (id_optsubmdf_at_one )))
116
116
117
- print (f"OptMDF at all (n={ len (id_optmdf_at_all )} ): { id_optmdf_at_all } " )
118
- print (f"OptSubMDF at all (n={ len (id_optsubmdf_at_all )} ): { id_optsubmdf_at_all } " )
117
+ # print(f"OptMDF at all (n={len(id_optmdf_at_all)}): {id_optmdf_at_all}")
118
+ # print(f"OptSubMDF at all (n={len(id_optsubmdf_at_all)}): {id_optsubmdf_at_all}")
119
119
print (f"OptMDF at >= 1 (n={ len (id_optmdf_at_one )} ): { id_optmdf_at_one } " )
120
120
print (f"OptSubMDF at >= 1 (n={ len (id_optsubmdf_at_one )} ): { id_optsubmdf_at_one } " )
121
121
You can’t perform that action at this time.
0 commit comments