Skip to content

Commit bda6671

Browse files
committed
Add forbidden groups
1 parent 4f375bf commit bda6671

File tree

1 file changed

+38
-0
lines changed
  • input/kinetics/families/Intra_RH_Add_Endocyclic

1 file changed

+38
-0
lines changed

input/kinetics/families/Intra_RH_Add_Endocyclic/groups.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,43 @@
4242
"""
4343
)
4444

45+
forbidden(
46+
label = "R3_rad",
47+
group =
48+
"""
49+
1 *1 R!H u0 p0 c0 {2,S}
50+
2 *4 H u0 p0 c0 {1,S}
51+
3 *2 R!H u0 p0 c0 {4,D}
52+
4 *3 R!H u0 p0 c0 {3,D} {5,S}
53+
5 R!H u1 p0 c0 {4,S}
54+
""",
55+
shortDesc = """""",
56+
longDesc =
57+
"""
58+
Prevent R3 from being connected to a radical.
59+
As an example, it prevents the reactant from this reaction from matching the template.
60+
rsmi: [C:1](=[C:2]([C:3]([C:4]([C:5](=[C:6]([C:7]([H:17])[H:18])[H:16])[H:15])([H:13])[H:14])([H:11])[H:12])[H:10])([H:8])[H:9]
61+
psmi: [C:1]1([H:9])=[C:2]([H:10])[C:3]([H:11])([H:12])[C:4]([H:13])([H:14])[C:5]([H:8])([H:15])[C:6]1([C:7]([H:17])[H:18])[H:16]
62+
""",
63+
)
4564

65+
forbidden(
66+
label = "R3_rad_rev",
67+
group =
68+
"""
69+
1 *1 R!H u0 p0 c0 {2,S}
70+
2 *3 R!H u0 p0 c0 {1,S} {3,S} {4,S}
71+
3 R!H u1 p0 c0 {2,S}
72+
4 *2 R!H u0 p0 c0 {2,S} {5,S}
73+
5 *4 H u0 p0 c0 {4,S}
74+
""",
75+
shortDesc = """""",
76+
longDesc =
77+
"""
78+
Prevent R3 from being connected to a radical.
79+
As an example, it prevents the product from this reaction from matching the template.
80+
rsmi: [C:1](=[C:2]([C:3]([C:4]([C:5](=[C:6]([C:7]([H:17])[H:18])[H:16])[H:15])([H:13])[H:14])([H:11])[H:12])[H:10])([H:8])[H:9]
81+
psmi: [C:1]1([H:9])=[C:2]([H:10])[C:3]([H:11])([H:12])[C:4]([H:13])([H:14])[C:5]([H:8])([H:15])[C:6]1([C:7]([H:17])[H:18])[H:16]
82+
""",
83+
)
4684

0 commit comments

Comments
 (0)