From 5bd01da0fae92d1d673be8abf111ee65b3adc26e Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 26 Jul 2013 21:33:54 +0000 Subject: [PATCH] Fix deprecation warnings in SOFC example --- .../cython/cantera/examples/surface_chemistry/sofc.cti | 6 ------ samples/python/fuel_cells/sofc.cti | 6 ------ 2 files changed, 12 deletions(-) diff --git a/interfaces/cython/cantera/examples/surface_chemistry/sofc.cti b/interfaces/cython/cantera/examples/surface_chemistry/sofc.cti index b605815d7..6b594ed45 100644 --- a/interfaces/cython/cantera/examples/surface_chemistry/sofc.cti +++ b/interfaces/cython/cantera/examples/surface_chemistry/sofc.cti @@ -8,12 +8,6 @@ # ######################################################################### - -# since Cantera input files are actually executable Python scripts, -# we can put any valid Python statements in the input file. Here we -# import the value of R from Cantera. -from Cantera import GasConstant - # These units will be used by default for any quantities entered # without units. Quantities with compound units (e.g. concentration) # will be constructed from these - the units of concentration will be diff --git a/samples/python/fuel_cells/sofc.cti b/samples/python/fuel_cells/sofc.cti index b605815d7..6b594ed45 100644 --- a/samples/python/fuel_cells/sofc.cti +++ b/samples/python/fuel_cells/sofc.cti @@ -8,12 +8,6 @@ # ######################################################################### - -# since Cantera input files are actually executable Python scripts, -# we can put any valid Python statements in the input file. Here we -# import the value of R from Cantera. -from Cantera import GasConstant - # These units will be used by default for any quantities entered # without units. Quantities with compound units (e.g. concentration) # will be constructed from these - the units of concentration will be