From 21e989290967c99d68f667dce165b4609da25788 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 23 Sep 2014 02:20:57 +0000 Subject: [PATCH] [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. --- interfaces/cython/cantera/ctml_writer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/cython/cantera/ctml_writer.py b/interfaces/cython/cantera/ctml_writer.py index 130bdd41e..6f7241509 100644 --- a/interfaces/cython/cantera/ctml_writer.py +++ b/interfaces/cython/cantera/ctml_writer.py @@ -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``,