diff options
author | jakobsj <jakobsj@users.noreply.github.com> | 2018-03-06 15:03:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 15:03:41 +0000 |
commit | e7258f55ac540ea09d52c62c0895f41396d4ed21 (patch) | |
tree | 79b05f88fcdacfcd18684e6b6d41e82eb54f3ef7 /Wrappers | |
parent | 0dbe15e80c67e4b320886015752f650ad7728d7c (diff) | |
download | framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.tar.gz framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.tar.bz2 framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.tar.xz framework-e7258f55ac540ea09d52c62c0895f41396d4ed21.zip |
fix dataset issue in processor (#38)
Diffstat (limited to 'Wrappers')
-rwxr-xr-x | Wrappers/Python/ccpi/processors.py | 5 |
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
|