Fix calls to ck2cti that pass through the C++ interface

This commit is contained in:
Ray Speth 2013-08-02 23:17:40 +00:00
parent c32b54a47d
commit 957ddc97ae

View file

@ -154,7 +154,7 @@ void ck2cti(const std::string& in_file, const std::string& thermo_file,
pyin << " import sys\n";
pyin << " sys.stderr = sys.stdout\n";
pyin << " import ck2cti\n";
pyin << " ck2cti.convertMech(r'" << in_file << "',";
pyin << " ck2cti.Parser().convertMech(r'" << in_file << "',";
if (thermo_file != "" && thermo_file != "-") {
pyin << " thermoFile=r'" << thermo_file << "',";
}