Skip to content

Commit

Permalink
format atomtype
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Mar 16, 2024
1 parent efaf25d commit 6d4be35
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions rmgpy/molecule/atomtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def get_features(self):

ATOMTYPES = {}

ATOMTYPES['Rx'] = AtomType(label='Rx', generic=[], specific=[
ATOMTYPES['Rx'] = AtomType(label='Rx', generic=[], specific=[
'H',
'R',
'R!H',
Expand All @@ -259,7 +259,7 @@ def get_features(self):
'I','I1s',
'F','F1s','X','Xv','Xo'])

ATOMTYPES['Rx!H'] = AtomType(label='Rx!H', generic=['Rx'], specific=[
ATOMTYPES['Rx!H'] = AtomType(label='Rx!H', generic=['Rx'], specific=[
'R!H',
'R!H!Val7',
'Val4','Val5','Val6','Val7',
Expand All @@ -276,20 +276,20 @@ def get_features(self):
'F','F1s','X','Xv','Xo'])

# Surface sites:
ATOMTYPES['X'] = AtomType(label='X', generic=['Rx', 'Rx!H'], specific=['Xv', 'Xo'])
ATOMTYPES['X'] = AtomType(label='X', generic=['Rx', 'Rx!H'], specific=['Xv', 'Xo'])

# Vacant surface site:
ATOMTYPES['Xv'] = AtomType('Xv', generic=['X','Rx', 'Rx!H'], specific=[],
ATOMTYPES['Xv'] = AtomType('Xv', generic=['X','Rx', 'Rx!H'], specific=[],
single=[0], all_double=[0], r_double=[], o_double=[], s_double=[], triple=[0], quadruple=[0],
benzene=[0], lone_pairs=[0])
# Occupied surface site:
ATOMTYPES['Xo'] = AtomType('Xo', generic=['X','Rx', 'Rx!H'], specific=[],
ATOMTYPES['Xo'] = AtomType('Xo', generic=['X','Rx', 'Rx!H'], specific=[],
single=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], all_double=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], r_double=[], o_double=[], s_double=[], triple=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18],
quadruple=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], benzene=[0], lone_pairs=[0])


# Non-surface atomTypes, R being the most generic:
ATOMTYPES['R'] = AtomType(label='R', generic=['Rx'], specific=[
ATOMTYPES['R'] = AtomType(label='R', generic=['Rx'], specific=[
'H',
'R!H',
'R!H!Val7',
Expand All @@ -306,7 +306,7 @@ def get_features(self):
'I','I1s',
'F','F1s'])

ATOMTYPES['R!H'] = AtomType(label='R!H', generic=['R', 'Rx', 'Rx!H'], specific=[
ATOMTYPES['R!H'] = AtomType(label='R!H', generic=['R', 'Rx', 'Rx!H'], specific=[
'Val4','Val5','Val6','Val7',
'He','Ne','Ar',
'C','Ca','Cs','Csc','Cd','CO','CS','Cdd','Cdc','Ctc','Ct','Cb','Cbf','Cq','C2s','C2sc','C2d','C2dc','C2tc',
Expand All @@ -320,7 +320,7 @@ def get_features(self):
'I','I1s',
'F','F1s'])

ATOMTYPES['R!H!Val7'] = AtomType(label='R!H!Val7', generic=['R', 'Rx', 'Rx!H'], specific=[
ATOMTYPES['R!H!Val7'] = AtomType(label='R!H!Val7', generic=['R', 'Rx', 'Rx!H'], specific=[
'Val4','Val5','Val6',
'He','Ne','Ar',
'C','Ca','Cs','Csc','Cd','CO','CS','Cdd','Cdc','Ctc','Ct','Cb','Cbf','Cq','C2s','C2sc','C2d','C2dc','C2tc',
Expand Down

0 comments on commit 6d4be35

Please sign in to comment.