From 3bbf3f81ab3e97946fcc606daaadce685e7773cf Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 20 Sep 2019 14:57:34 +0100 Subject: use dimension_labels in clone of Acquisition/ImageGeometry (#366) closes #365 --- Wrappers/Python/ccpi/framework/framework.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Wrappers/Python') 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 = "" -- cgit v1.2.3