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 bbf54d7 commit e51f0d1
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=[

Check warning on line 243 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L243

Added line #L243 was not covered by tests
'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=[

Check warning on line 262 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L262

Added line #L262 was not covered by tests
'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'])

Check warning on line 279 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L279

Added line #L279 was not covered by tests

# Vacant surface site:
ATOMTYPES['Xv'] = AtomType('Xv', generic=['X','Rx', 'Rx!H'], specific=[],
ATOMTYPES['Xv'] = AtomType('Xv', generic=['X','Rx', 'Rx!H'], specific=[],

Check warning on line 282 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L282

Added line #L282 was not covered by tests
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=[],

Check warning on line 286 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L286

Added line #L286 was not covered by tests
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=[

Check warning on line 292 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L292

Added line #L292 was not covered by tests
'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=[

Check warning on line 309 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L309

Added line #L309 was not covered by tests
'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=[

Check warning on line 323 in rmgpy/molecule/atomtype.py

View check run for this annotation

Codecov / codecov/patch

rmgpy/molecule/atomtype.py#L323

Added line #L323 was not covered by tests
'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 e51f0d1

Please sign in to comment.