[Transport] Fix handling of default value for acentric_factor

If acentric_factor isn't specified in the CTI, don't include it when generating
the XML.
This commit is contained in:
Ray Speth 2014-09-23 02:20:57 +00:00
parent 8b4c5336ba
commit 21e9892909

View file

@ -944,7 +944,7 @@ class gas_transport(transport):
"""
def __init__(self, geom = 'nonlin',
diam = 0.0, well_depth = 0.0, dipole = 0.0,
polar = 0.0, rot_relax = 0.0, acentric_factor = 0.0):
polar = 0.0, rot_relax = 0.0, acentric_factor = None):
"""
:param geom:
A string specifying the molecular geometry. One of ``atom``,