Skip to content

Commit

Permalink
Fixed syntax problems with SEI examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ssun30 authored and rwest committed Apr 1, 2024
1 parent a2fce51 commit 75ee20f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
26 changes: 17 additions & 9 deletions examples/rmg/SEI_pure_ACN/input.py
Expand Up @@ -18,7 +18,7 @@
'Li_Abstraction',
'R_Addition_MultipleBond_Disprop',
'Cation_R_Recombination',
'Cation_Addition_Multiple_Bond',
'Cation_Addition_MultipleBond',
'1,2-Birad_to_alkene',
'1,2_Insertion_CO',
'1,2_Insertion_carbene',
Expand Down Expand Up @@ -158,16 +158,24 @@
saveEdgeSpecies=False,
)

forbidden(
label='vacancies',
structure=adjacencyListGroup("""
1 Xv u0 p0 c0
"""),
)

forbidden(
label='Li2',
structure=adjacencyList("""
1 Li u0 p0 c0 {2,S}
2 Li u0 p0 c0 {1,S}"""),
)

generatedSpeciesConstraints(
allowed=['input species','reaction libraries'],
maximumSurfaceSites=1,
explicitlyForbiddenGroups=[groupAdjacencyList("""
1 Xv u0 p0 c0
""")],
explicitlyForbiddenMolecules=[adjacencyList("""
1 Li u0 p0 c0 {2,S}
2 Li u0 p0 c0 {1,S}""")],
maximumCarbonAtoms=7,
maximumNitrogenAtoms=4,
maximumCarbonAtoms=7,
maximumOxygenAtoms=4,
maximumRadicalElectrons=1,
)
15 changes: 9 additions & 6 deletions examples/rmg/SEI_pure_EC/input.py
Expand Up @@ -275,14 +275,17 @@
saveEdgeSpecies=False,
)

forbidden(
label='vacancies',
structure=adjacencyListGroup("""
1 Xv u0 p0 c0
"""),
)

generatedSpeciesConstraints(
allowed=['input species','reaction libraries'],
maximumSurfaceSites=1,
explicitlyForbiddenGroups=[groupAdjacencyList("""
1 Xv u0 p0 c0
""")],
maximumCarbonAtoms=8,
maximumOxygenAtoms=8,
maximumCarbonAtoms=8,
maximumOxygenAtoms=8,
maximumRadicalElectrons=1,
)

0 comments on commit 75ee20f

Please sign in to comment.