summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-09-20 14:57:34 +0100
committerGitHub <noreply@github.com>2019-09-20 14:57:34 +0100
commit3bbf3f81ab3e97946fcc606daaadce685e7773cf (patch)
tree74c28a64531762e0112484c11cf9473eb09137b2 /Wrappers/Python
parentd9c125f8a32fdb9bc6d705e9cd076ac3b1456bc5 (diff)
downloadframework-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
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-xWrappers/Python/ccpi/framework/framework.py6
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 = ""