Skip to content

Commit bd4a9fd

Browse files
KEHANGmliu49
authored andcommitted
add comments for forbidden structure check process
1 parent 0b10f26 commit bd4a9fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rmgpy/data/kinetics/family.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,8 +1331,11 @@ def isMoleculeForbidden(self, molecule):
13311331

13321332
forbidden_structures = getDB('forbidden')
13331333

1334+
# check family-specific forbidden structures
13341335
if self.forbidden is not None and self.forbidden.isMoleculeForbidden(molecule):
13351336
return True
1337+
1338+
# check RMG globally forbidden structures
13361339
if forbidden_structures.isMoleculeForbidden(molecule):
13371340
return True
13381341
return False

0 commit comments

Comments
 (0)