diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-09-20 14:57:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 14:57:34 +0100 |
commit | 3bbf3f81ab3e97946fcc606daaadce685e7773cf (patch) | |
tree | 74c28a64531762e0112484c11cf9473eb09137b2 | |
parent | d9c125f8a32fdb9bc6d705e9cd076ac3b1456bc5 (diff) | |
download | framework-3bbf3f81ab3e97946fcc606daaadce685e7773cf.tar.gz framework-3bbf3f81ab3e97946fcc606daaadce685e7773cf.tar.bz2 framework-3bbf3f81ab3e97946fcc606daaadce685e7773cf.tar.xz framework-3bbf3f81ab3e97946fcc606daaadce685e7773cf.zip |
use dimension_labels in clone of Acquisition/ImageGeometry (#366)
closes #365
-rwxr-xr-x | Wrappers/Python/ccpi/framework/framework.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Wrappers/Python/ccpi/framework/framework.py b/Wrappers/Python/ccpi/framework/framework.py index 9435106..5768e7d 100755 --- a/Wrappers/Python/ccpi/framework/framework.py +++ b/Wrappers/Python/ccpi/framework/framework.py @@ -153,7 +153,8 @@ class ImageGeometry(object): self.center_x, self.center_y, self.center_z, - self.channels) + self.channels, + dimension_labels=self.dimension_labels) def __str__ (self): repres = "" repres += "Number of channels: {0}\n".format(self.channels) @@ -322,7 +323,8 @@ class AcquisitionGeometry(object): self.pixel_size_v, self.dist_source_center, self.dist_center_detector, - self.channels) + self.channels, + dimension_labels=self.dimension_labels) def __str__ (self): repres = "" |