Skip to content

Commit 482202d

Browse files
committed
Clarify some groups in statmech to avoid sibling bug
It looks like some of these groups were added before we had enabled lone pairs in the Adjlist. As such they tried to incorperate both triplet/singlet and doublet/quartet in the one node. However, this made the tree fail the sibling child/parent check. For now, I have removed the possibility for singlet bi-rads and doublet tri-rads. Additionally the Nitrites group was just written incorrectly from the start. I have added one extra atom to the Adjlist after consulting with alongd
1 parent 6d704a7 commit 482202d

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

input/statmech/groups/groups.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
entry(
1010
index = -1,
1111
label = "R!H",
12-
group = "OR{R!Hx0, R!Hx1, R!Hx2, R!Hx3}",
12+
group = "OR{R!Hx0, R!Hx1, R!Hx2_trip, R!Hx3_quart}",
1313
statmech = None,
1414
shortDesc = u"""""",
1515
longDesc =
@@ -901,7 +901,8 @@
901901
"""
902902
1 * N u0 {2,D} {3,S}
903903
2 O u0 {1,D}
904-
3 O u0 {1,S}
904+
3 O u0 {1,S} {4,S}
905+
4 R u0 {3,S}
905906
""",
906907
statmech = GroupFrequencies(
907908
frequencies = [
@@ -1244,10 +1245,10 @@
12441245

12451246
entry(
12461247
index = -1,
1247-
label = "R!Hx2",
1248+
label = "R!Hx2_trip",
12481249
group =
12491250
"""
1250-
1 * R!H u[0,2]
1251+
1 * R!H u2
12511252
""",
12521253
statmech = None,
12531254
shortDesc = u"""""",
@@ -1329,10 +1330,10 @@
13291330

13301331
entry(
13311332
index = -1,
1332-
label = "R!Hx3",
1333+
label = "R!Hx3_quart",
13331334
group =
13341335
"""
1335-
1 * R!H u[1,3]
1336+
1 * R!H u3
13361337
""",
13371338
statmech = None,
13381339
shortDesc = u"""""",
@@ -1391,12 +1392,12 @@
13911392
L4: RsCrsR2
13921393
L3: O_R1
13931394
L4: Oxy
1394-
L2: R!Hx2
1395+
L2: R!Hx2_trip
13951396
L3: C_R2
13961397
L4: RsCHrr
13971398
L4: RdCrr
13981399
L4: RsCrrsR
1399-
L2: R!Hx3
1400+
L2: R!Hx3_quart
14001401
"""
14011402
)
14021403

0 commit comments

Comments
 (0)