From bb8ee9df45bf747d6dafe29284e8deb1ab36dc17 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Mon, 6 Jul 2020 13:58:33 -0400 Subject: [PATCH] [Thermo] Remove unused variables in SolutionArray --- interfaces/cython/cantera/composite.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/interfaces/cython/cantera/composite.py b/interfaces/cython/cantera/composite.py index 3d30080465..9c299eb53e 100644 --- a/interfaces/cython/cantera/composite.py +++ b/interfaces/cython/cantera/composite.py @@ -905,7 +905,6 @@ def collect_data(self, cols=None, tabular=False, threshold=0, species=None): if tabular and len(self._shape) != 1: raise AttributeError("Tabular output of collect_data only works " "for 1D SolutionArray") - out = OrderedDict() # Create default columns (including complete state information) if cols is None: @@ -929,7 +928,6 @@ def collect_data(self, cols=None, tabular=False, threshold=0, species=None): def split(c, d): """ Split attribute arrays into columns for tabular output """ - single_species = False # Determine labels for the items in the current group of columns if c in self._n_species: collabels = ['{}_{}'.format(c, s) for s in self.species_names]