[Input] Normalize YAML reaction equation for Chebyshev reactions
Fix the reaction equation to always include the (+M). Previously, if the (+M) was omitted, an invalid reaction string was generated.
This commit is contained in:
parent
ee41824b1e
commit
6c8adf47b3
1 changed files with 1 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ class Chebyshev(KineticsModel):
|
|||
self.quantity_units = quantity_units
|
||||
|
||||
def reaction_string_suffix(self, species):
|
||||
return ' (+{})'.format(species)
|
||||
return ' (+{})'.format(species if species else 'M')
|
||||
|
||||
def reduce(self, output):
|
||||
output['type'] = 'Chebyshev'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue