From 5a4576a65e2a54fd96ddd7247caf08b55d1f782c Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 9 Oct 2007 15:23:08 +0000 Subject: [PATCH] Fixed a bug in the conversion of files from cti to ctml format, having to do with NASA9 polynomials. Added a comma to the NASA9 floatArray block. --- Cantera/python/ctml_writer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cantera/python/ctml_writer.py b/Cantera/python/ctml_writer.py index a1f1b3aee..032f164a0 100644 --- a/Cantera/python/ctml_writer.py +++ b/Cantera/python/ctml_writer.py @@ -637,8 +637,8 @@ class NASA9(thermo): for i in range(4): str += '%17.9E, ' % self._coeffs[i] str += '\n' - str += '%17.9E, %17.9E, %17.9E, %17.9E' % (self._coeffs[4], self._coeffs[5], - self._coeffs[6], self._coeffs[7]) + str += '%17.9E, %17.9E, %17.9E, %17.9E,' % (self._coeffs[4], self._coeffs[5], + self._coeffs[6], self._coeffs[7]) str += '\n' str += '%17.9E' % (self._coeffs[8]) u = n.addChild("floatArray", str)