Skip to content

Commit 94d0c86

Browse files
committed
Add forbidden groups
1 parent cacb8f8 commit 94d0c86

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

  • input/kinetics/families/Intra_RH_Add_Endocyclic

input/kinetics/families/Intra_RH_Add_Endocyclic/groups.py

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,43 @@
4646
"""
4747
)
4848

49+
forbidden(
50+
label = "R3_rad",
51+
group =
52+
"""
53+
1 *1 R!H u0 p0 c0 {2,S}
54+
2 *4 H u0 p0 c0 {1,S}
55+
3 *2 R!H u0 p0 c0 {4,D}
56+
4 *3 R!H u0 p0 c0 {3,D} {5,S}
57+
5 R!H u1 p0 c0 {4,S}
58+
""",
59+
shortDesc = """""",
60+
longDesc =
61+
"""
62+
Prevent R3 from being connected to a radical.
63+
As an example, it prevents the reactant from this reaction from matching the template.
64+
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]
65+
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]
66+
""",
67+
)
4968

69+
forbidden(
70+
label = "R3_rad_rev",
71+
group =
72+
"""
73+
1 *1 R!H u0 p0 c0 {2,S}
74+
2 *3 R!H u0 p0 c0 {1,S} {3,S} {4,S}
75+
3 R!H u1 p0 c0 {2,S}
76+
4 *2 R!H u0 p0 c0 {2,S} {5,S}
77+
5 *4 H u0 p0 c0 {4,S}
78+
""",
79+
shortDesc = """""",
80+
longDesc =
81+
"""
82+
Prevent R3 from being connected to a radical.
83+
As an example, it prevents the product from this reaction from matching the template.
84+
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]
85+
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]
86+
""",
87+
)
5088

0 commit comments

Comments
 (0)