diff --git a/pyleoclim/core/ensembleseries.py b/pyleoclim/core/ensembleseries.py index 809df24f..8d4348c0 100644 --- a/pyleoclim/core/ensembleseries.py +++ b/pyleoclim/core/ensembleseries.py @@ -40,7 +40,6 @@ class EnsembleSeries(MultipleSeries): def __init__(self, series_list, label=None): for i, ts in enumerate(series_list): if ts.label is None: - print("assign labels if missing") series_list[i].label = f"#{i}" # assign labels if missing self.series_list = series_list self.label = label @@ -1381,7 +1380,7 @@ def to_dataframe(self, axis = 'value'): if axis == 'value': for ts in self.series_list: - if ts.label is None: + if ts.label is None: # should no longer be necessary now that it's done in __init__ df_dict[idx]=ts.value else: df_dict[ts.label]=ts.value @@ -1389,7 +1388,7 @@ def to_dataframe(self, axis = 'value'): elif axis == 'time': for ts in self.series_list: - if ts.label is None: + if ts.label is None: # should no longer be necessary now that it's done in __init__ df_dict[idx]=ts.time else: df_dict[ts.label]=ts.time