From 2612b73ca1d4581364720b4646805cdcc430f3cb Mon Sep 17 00:00:00 2001 From: Edoardo Pasca Date: Fri, 10 May 2019 15:21:08 +0100 Subject: commented out line --- Wrappers/Python/ccpi/framework/TestData.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Wrappers/Python/ccpi/framework/TestData.py b/Wrappers/Python/ccpi/framework/TestData.py index 45ee1d4..83b2ee1 100755 --- a/Wrappers/Python/ccpi/framework/TestData.py +++ b/Wrappers/Python/ccpi/framework/TestData.py @@ -33,7 +33,7 @@ class TestData(object): sdata[round(M/8):round(7*M/8),round(3*M/8):round(5*M/8)] = 1 ig = ImageGeometry(voxel_num_x = N, voxel_num_y = M, dimension_labels=[ImageGeometry.HORIZONTAL_X, ImageGeometry.HORIZONTAL_Y]) data = ig.allocate() - data.geometry = ig + #data.geometry = ig data.fill(sdata) else: tmp = Image.open(os.path.join(self.data_dir, which)) @@ -46,12 +46,12 @@ class TestData(object): dimension_labels=[ImageGeometry.HORIZONTAL_X, ImageGeometry.HORIZONTAL_Y, ImageGeometry.CHANNEL]) data = ig.allocate() - data.geometry = ig + #data.geometry = ig #newsize = (size[0], size[1], len(bands)) else: ig = ImageGeometry(voxel_num_x = size[0], voxel_num_y = size[1], dimension_labels=[ImageGeometry.HORIZONTAL_X, ImageGeometry.HORIZONTAL_Y]) data = ig.allocate() - data.geometry = ig + #data.geometry = ig #newsize = size data.fill(numpy.array(tmp.resize((size[1],size[0])))) -- cgit v1.2.3