Skip to content

Commit 3bb3067

Browse files
mjohnson541ssun30
authored andcommitted
skip nodes that are empty when pulling solute data
1 parent b412bad commit 3bb3067

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

rmgpy/data/kinetics/family.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3565,6 +3565,8 @@ def make_bm_rules_from_template_rxn_map(self, template_rxn_map, nprocs=1, Tref=1
35653565
index += 1
35663566

35673567
for label,entry in self.rules.entries.items(): #pull solute data from further up the tree as needed
3568+
if len(entry) == 0:
3569+
continue
35683570
entry = entry[0]
35693571
if not entry.data.solute:
35703572
ent = self.groups.entries[label]

0 commit comments

Comments
 (0)