Skip to content

Commit

Permalink
[Thermo] Remove unused variables in SolutionArray
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanwweber committed Aug 22, 2020
1 parent c1f30c9 commit bb8ee9d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions interfaces/cython/cantera/composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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]
Expand Down

0 comments on commit bb8ee9d

Please sign in to comment.