Skip to content

Commit c1e2d87

Browse files
committed
Changed Ss and Sd to S2s and S2d
1 parent 8921c56 commit c1e2d87

6 files changed

Lines changed: 1969 additions & 1969 deletions

File tree

documentation/source/users/rmg/database/thermo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ is organized in a hierarchical tree, and is defined at the bottom of the databas
113113
L3: Cb
114114
L4: Cb-H
115115
L4: Cb-Os
116-
L4: Cb-Ss
116+
L4: Cb-S2s
117117
L4: Cb-C
118118
L5: Cb-Cs
119119
L5: Cb-Cds

rmgpy/molecule/atomtypeTest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ def testSulfurTypes(self):
276276
"""
277277
Test that getAtomType() returns appropriate sulfur atom types.
278278
"""
279-
self.assertEqual(self.atomType(self.mol4, 8), 'Ss')
280-
self.assertEqual(self.atomType(self.mol4, 10), 'Sd')
279+
self.assertEqual(self.atomType(self.mol4, 8), 'S2s')
280+
self.assertEqual(self.atomType(self.mol4, 10), 'S2d')
281281
self.assertEqual(self.atomType(self.mol21, 1), 'St')
282282

283283
def testOtherTypes(self):

rmgpy/molecule/group.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ def createAndConnectAtom(self, atomtypes, connectingAtom, bondOrders):
13831383

13841384
def addExplicitLigands(self):
13851385
"""
1386-
This function Od/Sd ligand to CO or CS atomtypes if they are not already there.
1386+
This function Od/S2d ligand to CO or CS atomtypes if they are not already there.
13871387
13881388
Returns a 'True' if the group was modified otherwise returns 'False'
13891389
"""
@@ -1408,7 +1408,7 @@ def addExplicitLigands(self):
14081408
if self.atoms[atomIndex].atomType[0] is atomTypes['CO']:
14091409
atomtypes = ['Od']
14101410
elif self.atoms[atomIndex].atomType[0] is atomTypes['CS']:
1411-
atomtypes = ['Sd']
1411+
atomtypes = ['S2d']
14121412
self.createAndConnectAtom(atomtypes, self.atoms[atomIndex], [2])
14131413

14141414
return modified
@@ -1418,7 +1418,7 @@ def standardizeGroup(self):
14181418
This function modifies groups to make them have a standard AdjList form.
14191419
14201420
Currently it makes atomtypes as specific as possible and makes CO/CS atomtypes
1421-
have explicit Od/Sd ligands. Other functions can be added as necessary
1421+
have explicit Od/S2d ligands. Other functions can be added as necessary
14221422
14231423
Returns a 'True' if the group was modified otherwise returns 'False'
14241424
"""

rmgpy/test_data/testing_database/kinetics/families/R_Addition_MultipleBond/groups.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@
153153
label = "Sd_R",
154154
group =
155155
"""
156-
1 *1 Sd u0 {2,D}
157-
2 *2 R!H u0 {1,D}
156+
1 *1 S2d u0 {2,D}
157+
2 *2 R!H u0 {1,D}
158158
""",
159159
kinetics = None,
160160
)
@@ -388,8 +388,8 @@
388388
label = "SsJ",
389389
group =
390390
"""
391-
1 *3 Ss u1 {2,S}
392-
2 R u0 {1,S}
391+
1 *3 S2s u1 {2,S}
392+
2 R u0 {1,S}
393393
""",
394394
kinetics = None,
395395
)

0 commit comments

Comments
 (0)