Commit e64f9318dd87d5cb57b3180a563b2be82061d9b2
1 parent
fa4b1128
Exists in
master
and in
68 other branches
FIX: Bug in open analyze file
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/control.py
| ... | ... | @@ -76,8 +76,8 @@ class Controller(): |
| 76 | 76 | proj.SetAcquisitionModality(acquisition_modality) |
| 77 | 77 | proj.imagedata = imagedata |
| 78 | 78 | proj.original_orientation = orientation |
| 79 | - proj.window = const.WINDOW_LEVEL['Bone'][0] | |
| 80 | - proj.level = const.WINDOW_LEVEL['Bone'][1] | |
| 79 | + proj.window = window = const.WINDOW_LEVEL['Bone'][0] | |
| 80 | + proj.level = level = const.WINDOW_LEVEL['Bone'][1] | |
| 81 | 81 | |
| 82 | 82 | if not imagedata: |
| 83 | 83 | print "Sorry, but there are no medical images supported on this dir." | ... | ... |