Commit 0a7731f971531fcd8b7a1f14f78f66c0c3c34d85
1 parent
28307a22
Exists in
master
and in
67 other branches
FIX: It wasn't opening analyze normaly because it was missing the creation of ma…
…trix_shape attribute in project
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
invesalius/control.py
... | ... | @@ -435,6 +435,7 @@ class Controller(): |
435 | 435 | proj.window = proj.threshold_range[1] - proj.threshold_range[0] |
436 | 436 | proj.level = (0.5 * (proj.threshold_range[1] + proj.threshold_range[0])) |
437 | 437 | proj.spacing = header['pixdim'][1:4] |
438 | + proj.matrix_shape = matrix.shape | |
438 | 439 | |
439 | 440 | self.Slice = sl.Slice() |
440 | 441 | self.Slice.matrix = matrix | ... | ... |