From 16bfa99e9bc9165510758dde07a4e02617e2b108 Mon Sep 17 00:00:00 2001 From: Anna Kuznetsova Date: Tue, 1 Jul 2014 11:34:00 -0700 Subject: [PATCH] Fix concat method of DataArray --- xray/data_array.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xray/data_array.py b/xray/data_array.py index 2397340b57a..2d2cc760dc1 100644 --- a/xray/data_array.py +++ b/xray/data_array.py @@ -704,8 +704,7 @@ def concat(cls, arrays, dimension='concat_dimension', indexers=None, concat_over = set() elif isinstance(concat_over, basestring): concat_over = set([concat_over]) - else: - concat_over = set(concat_over) | set([name]) + concat_over = set(concat_over) | set([name]) ds = xray.Dataset.concat(datasets, dimension, indexers, concat_over=concat_over) return ds[name]