From 0acb668d005acda090c64305bf360329857d4033 Mon Sep 17 00:00:00 2001 From: ssun30 Date: Fri, 15 Mar 2024 19:48:58 -0400 Subject: [PATCH] Fixed syntax problems with SEI examples --- examples/rmg/SEI_pure_ACN/input.py | 26 +++++++++++++++++--------- examples/rmg/SEI_pure_EC/input.py | 15 +++++++++------ 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/examples/rmg/SEI_pure_ACN/input.py b/examples/rmg/SEI_pure_ACN/input.py index 22891fd91f..2a4136c59c 100644 --- a/examples/rmg/SEI_pure_ACN/input.py +++ b/examples/rmg/SEI_pure_ACN/input.py @@ -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', @@ -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, ) diff --git a/examples/rmg/SEI_pure_EC/input.py b/examples/rmg/SEI_pure_EC/input.py index 4c5a4d8780..2912c7f2ba 100644 --- a/examples/rmg/SEI_pure_EC/input.py +++ b/examples/rmg/SEI_pure_EC/input.py @@ -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, ) -