From 0a7731f971531fcd8b7a1f14f78f66c0c3c34d85 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Wed, 12 Sep 2012 13:40:13 +0000 Subject: [PATCH] FIX: It wasn't opening analyze normaly because it was missing the creation of matrix_shape attribute in project --- invesalius/control.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index b91908e..cf105f2 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -435,6 +435,7 @@ class Controller(): proj.window = proj.threshold_range[1] - proj.threshold_range[0] proj.level = (0.5 * (proj.threshold_range[1] + proj.threshold_range[0])) proj.spacing = header['pixdim'][1:4] + proj.matrix_shape = matrix.shape self.Slice = sl.Slice() self.Slice.matrix = matrix -- libgit2 0.21.2