Skip to content

Commit 6deb2e4

Browse files
committed
Mark reactions as duplicate
1 parent c00df2d commit 6deb2e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rmgpy/chemkin.pyx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,9 @@ cpdef _process_duplicate_reactions(list reaction_list):
11571157
elif reaction1.kinetics.is_pressure_dependent() == reaction2.kinetics.is_pressure_dependent():
11581158
# If both reactions are pressure-independent or both are pressure-dependent, then they need
11591159
# duplicate tags. Chemkin treates pdep and non-pdep reactions as different, so those are okay
1160-
raise ChemkinError('Encountered unmarked duplicate reaction {0}.'.format(reaction1))
1160+
# raise ChemkinError('Encountered unmarked duplicate reaction {0}.'.format(reaction1))
1161+
reaction1.duplicate = True
1162+
reaction2.duplicate = True
11611163

11621164
for reaction in duplicate_reactions_to_remove:
11631165
reaction_list.remove(reaction)

0 commit comments

Comments
 (0)