Skip to content

Commit c79f637

Browse files
committed
Fix solvation for entry acessibility
In nonacentered.py: OxR3, OxR4, OxR5, OxR6 and OxR7, changed R to R!H because they have more than one bond SdOdOdN removed for now cause of multivalent sulfur moved N3sHCd(Od)N3sH up in sibling list In abraham.py: fix definition of Cb-notH, changing Cb to Cbf and R!H to Cbs and changing name to Cbf-notH moved Cbf-notH to be child of Cbf remove SdsOsOdOd because of multivalent sulfur, node was a child of S
1 parent 5886613 commit c79f637

2 files changed

Lines changed: 80 additions & 80 deletions

File tree

input/solvation/groups/abraham.py

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -338,15 +338,16 @@
338338
""",
339339
)
340340

341+
341342
entry(
342343
index = 37,
343-
label = "Cb-noH",
344+
label = "Cbf-noH",
344345
group =
345346
"""
346-
1 * Cb u0 {2,B} {3,B} {4,B}
347+
1 * Cbf u0 {2,B} {3,B} {4,B}
347348
2 R!H u0 {1,B}
348-
3 R!H u0 {1,B}
349-
4 R!H u0 {1,B}
349+
3 R!H u0 {1,B}
350+
4 R!H u0 {1,B}
350351
""",
351352
solute = SoluteData(
352353
S = 0.101,
@@ -1120,37 +1121,38 @@
11201121
11211122
""",
11221123
)
1123-
1124-
entry(
1125-
index = 35,
1126-
label = "SdsOsOdOd",
1127-
group =
1128-
"""
1129-
1 * Sd u0 {2,D} {3,D} {4,S} {5,S}
1130-
2 Od u0 {1,D}
1131-
3 Od u0 {1,D}
1132-
4 Os u0 {1,S}
1133-
5 R u0 {1,S}
1134-
""",
1135-
solute = SoluteData(
1136-
S = -0.505,
1137-
B = -0.188,
1138-
E = 0.0,
1139-
L = 0.0,
1140-
A = 0.0,
1141-
),
1142-
shortDesc = u"""Platts fragment 35 sulfonate""",
1143-
longDesc =
1144-
u"""
1145-
1146-
""",
1147-
)
1124+
#removed until we have aromatic sulfurs
1125+
# entry(
1126+
# index = 35,
1127+
# label = "SdsOsOdOd",
1128+
# group =
1129+
# """
1130+
# 1 * Sd u0 {2,D} {3,D} {4,S} {5,S}
1131+
# 2 Od u0 {1,D}
1132+
# 3 Od u0 {1,D}
1133+
# 4 Os u0 {1,S}
1134+
# 5 R u0 {1,S}
1135+
# """,
1136+
# solute = SoluteData(
1137+
# S = -0.505,
1138+
# B = -0.188,
1139+
# E = 0.0,
1140+
# L = 0.0,
1141+
# A = 0.0,
1142+
# ),
1143+
# shortDesc = u"""Platts fragment 35 sulfonate""",
1144+
# longDesc =
1145+
# u"""
1146+
1147+
# """,
1148+
# )
11481149

11491150
tree(
11501151
"""
11511152
L1: R
11521153
L2: C
11531154
L3: Cbf
1155+
L4: Cbf-noH
11541156
L3: Css
11551157
L4: CssH3
11561158
L4: CssH2
@@ -1164,7 +1166,6 @@
11641166
L4: CtOt
11651167
L3: Cdd
11661168
L3: Cb
1167-
L4: Cb-noH
11681169
L4: Cb-H
11691170
L4: Cb-noHnoRing
11701171
L2: O
@@ -1200,7 +1201,6 @@
12001201
L4: Ss-aromatic
12011202
L3: Sd
12021203
L4: Sds
1203-
L5: SdsOsOdOd
12041204
"""
12051205
)
12061206

input/solvation/groups/nonacentered.py

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,9 @@
557557
label = "OxR3",
558558
group =
559559
"""
560-
1 * Os u0 {2,S} {3,S}
561-
2 R u0 {1,S} {3,[S,D,B]}
562-
3 R u0 {1,S} {2,[S,D,B]}
560+
1 * Os u0 {2,S} {3,S}
561+
2 R!H u0 {1,S} {3,[S,D,B]}
562+
3 R!H u0 {1,S} {2,[S,D,B]}
563563
""",
564564
solute = None,
565565
shortDesc = u"""O in a 3 membered ring""",
@@ -574,10 +574,10 @@
574574
label = "OxR4",
575575
group =
576576
"""
577-
1 * Os u0 {2,S} {4,S}
578-
2 R u0 {1,S} {3,[S,D,B]}
579-
3 R u0 {2,[S,D,B]} {4,[S,D,B]}
580-
4 R u0 {1,S} {3,[S,D,B]}
577+
1 * Os u0 {2,S} {4,S}
578+
2 R!H u0 {1,S} {3,[S,D,B]}
579+
3 R!H u0 {2,[S,D,B]} {4,[S,D,B]}
580+
4 R!H u0 {1,S} {3,[S,D,B]}
581581
""",
582582
solute = None,
583583
shortDesc = u"""O in a 4 membered ring""",
@@ -592,11 +592,11 @@
592592
label = "OxR5",
593593
group =
594594
"""
595-
1 * Os u0 {2,S} {5,S}
596-
2 R u0 {1,S} {3,[S,D,B]}
597-
3 R u0 {2,[S,D,B]} {4,[S,D,B]}
598-
4 R u0 {3,[S,D,B]} {5,[S,D,B]}
599-
5 R u0 {1,S} {4,[S,D,B]}
595+
1 * Os u0 {2,S} {5,S}
596+
2 R!H u0 {1,S} {3,[S,D,B]}
597+
3 R!H u0 {2,[S,D,B]} {4,[S,D,B]}
598+
4 R!H u0 {3,[S,D,B]} {5,[S,D,B]}
599+
5 R!H u0 {1,S} {4,[S,D,B]}
600600
""",
601601
solute = None,
602602
shortDesc = u"""O in a 5 membered ring""",
@@ -611,12 +611,12 @@
611611
label = "OxR6",
612612
group =
613613
"""
614-
1 * Os u0 {2,S} {6,S}
615-
2 R u0 {1,S} {3,[S,D,B]}
616-
3 R u0 {2,[S,D,B]} {4,[S,D,B]}
617-
4 R u0 {3,[S,D,B]} {5,[S,D,B]}
618-
5 R u0 {4,[S,D,B]} {6,[S,D,B]}
619-
6 R u0 {1,S} {5,[S,D,B]}
614+
1 * Os u0 {2,S} {6,S}
615+
2 R!H u0 {1,S} {3,[S,D,B]}
616+
3 R!H u0 {2,[S,D,B]} {4,[S,D,B]}
617+
4 R!H u0 {3,[S,D,B]} {5,[S,D,B]}
618+
5 R!H u0 {4,[S,D,B]} {6,[S,D,B]}
619+
6 R!H u0 {1,S} {5,[S,D,B]}
620620
""",
621621
solute = None,
622622
shortDesc = u"""O in a 6 membered ring""",
@@ -631,13 +631,13 @@
631631
label = "OxR7",
632632
group =
633633
"""
634-
1 * Os u0 {2,S} {7,S}
635-
2 R u0 {1,S} {3,[S,D,B]}
636-
3 R u0 {2,[S,D,B]} {4,[S,D,B]}
637-
4 R u0 {3,[S,D,B]} {5,[S,D,B]}
638-
5 R u0 {4,[S,D,B]} {6,[S,D,B]}
639-
6 R u0 {5,[S,D,B]} {7,[S,D,B]}
640-
7 R u0 {1,S} {6,[S,D,B]}
634+
1 * Os u0 {2,S} {7,S}
635+
2 R!H u0 {1,S} {3,[S,D,B]}
636+
3 R!H u0 {2,[S,D,B]} {4,[S,D,B]}
637+
4 R!H u0 {3,[S,D,B]} {5,[S,D,B]}
638+
5 R!H u0 {4,[S,D,B]} {6,[S,D,B]}
639+
6 R!H u0 {5,[S,D,B]} {7,[S,D,B]}
640+
7 R!H u0 {1,S} {6,[S,D,B]}
641641
""",
642642
solute = None,
643643
shortDesc = u"""O in a 7 membered ring""",
@@ -647,29 +647,30 @@
647647
""",
648648
)
649649

650-
entry(
651-
index = 26,
652-
label = "SdOdOdN",
653-
group =
654-
"""
655-
1 * Sd u0 {2,D} {3,D} {4,S}
656-
2 Od u0 {1,D}
657-
3 Od u0 {1,D}
658-
4 N u0 {1,S}
659-
""",
660-
solute = SoluteData(
661-
S = -0.569,
662-
B = -0.446,
663-
E = -0.111,
664-
L = 0.0,
665-
A = 0.356,
666-
),
667-
shortDesc = u"""Platts group 51 sulfonamide -S(O)(O)N- (and fragment 13 for A)""",
668-
longDesc =
669-
u"""
650+
#temporarily removed until multivalent Sulfur is implemented
651+
# entry(
652+
# index = 26,
653+
# label = "SdOdOdN",
654+
# group =
655+
# """
656+
# 1 * Sd u0 {2,D} {3,D} {4,S}
657+
# 2 Od u0 {1,D}
658+
# 3 Od u0 {1,D}
659+
# 4 N u0 {1,S}
660+
# """,
661+
# solute = SoluteData(
662+
# S = -0.569,
663+
# B = -0.446,
664+
# E = -0.111,
665+
# L = 0.0,
666+
# A = 0.356,
667+
# ),
668+
# shortDesc = u"""Platts group 51 sulfonamide -S(O)(O)N- (and fragment 13 for A)""",
669+
# longDesc =
670+
# u"""
670671

671-
""",
672-
)
672+
# """,
673+
# )
673674

674675
entry(
675676
index = 30,
@@ -889,12 +890,11 @@
889890
L3: OxR5
890891
L3: OxR6
891892
L3: OxR7
892-
L2: SdOdOdN
893893
L2: N3sH2-benz
894+
L2: N3sHCd(Od)N3sH
894895
L2: Cd(Od)NH2
895896
L2: Cd(Od)NHR
896897
L3: Cd(Od)NH-arom
897-
L2: N3sHCd(Od)N3sH
898898
L2: N3sCd(Od)N3sH
899899
L2: CdsNdNsNs
900900
"""

0 commit comments

Comments
 (0)