From e7258f55ac540ea09d52c62c0895f41396d4ed21 Mon Sep 17 00:00:00 2001 From: jakobsj Date: Tue, 6 Mar 2018 15:03:41 +0000 Subject: fix dataset issue in processor (#38) --- Wrappers/Python/ccpi/processors.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Wrappers/Python') diff --git a/Wrappers/Python/ccpi/processors.py b/Wrappers/Python/ccpi/processors.py index 86d8b3a..09e7229 100755 --- a/Wrappers/Python/ccpi/processors.py +++ b/Wrappers/Python/ccpi/processors.py @@ -96,8 +96,9 @@ class Normalizer(DataSetProcessor): projection, flat, dark, self.tolerance) \ for projection in projections.as_array() ] ) - y = DataSet( a , True, - dimension_labels=projections.dimension_labels ) + y = type(projections)( a , True, + dimension_labels=projections.dimension_labels, + geometry=projections.geometry) return y -- cgit v1.2.3