Skip to content

Commit e9e2f88

Browse files
committed
skip coverage dependence checks for electrochem families
1 parent 923d854 commit e9e2f88

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

testing/databaseTest.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,14 @@ def test_kinetics(self):
139139
test.description = test_name
140140
self.compat_func_name = test_name
141141
yield test, family_name
142-
143-
test = lambda x: self.kinetics_check_coverage_dependence_units_are_correct(family_name)
144-
test_name = "Kinetics surface family {0}: check coverage dependent units are correct?".format(family_name)
145-
test.description = test_name
146-
self.compat_func_name = test_name
147-
yield test, family_name
142+
143+
if family_name not in ["Surface_Proton_Electron_Reduction_Alpha", "Surface_Proton_Electron_Reduction_Beta"
144+
"Surface_Proton_Electron_Reduction_Beta_Dissociation"]:
145+
test = lambda x: self.kinetics_check_coverage_dependence_units_are_correct(family_name)
146+
test_name = "Kinetics surface family {0}: check coverage dependent units are correct?".format(family_name)
147+
test.description = test_name
148+
self.compat_func_name = test_name
149+
yield test, family_name
148150

149151
# these families have some sort of difficulty which prevents us from testing accessibility right now
150152
# See RMG-Py PR #2232 for reason why adding Bimolec_Hydroperoxide_Decomposition here. Bsically some nodes need to be in a ring, but the sampled molecule is not.

0 commit comments

Comments
 (0)