summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakobsj <jakobsj@users.noreply.github.com>2018-03-06 15:03:41 +0000
committerGitHub <noreply@github.com>2018-03-06 15:03:41 +0000
commite7258f55ac540ea09d52c62c0895f41396d4ed21 (patch)
tree79b05f88fcdacfcd18684e6b6d41e82eb54f3ef7
parent0dbe15e80c67e4b320886015752f650ad7728d7c (diff)
downloadframework-e7258f55ac540ea09d52c62c0895f41396d4ed21.tar.gz
framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.tar.bz2
framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.tar.xz
framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.zip
fix dataset issue in processor (#38)
-rwxr-xr-xWrappers/Python/ccpi/processors.py5
1 files changed, 3 insertions, 2 deletions
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