Commit 371a7514ed00da1b69ec487cd9cf3c021a66f642

Authored by tfmoraes
1 parent c8a7aced

Opening analyze files again

invesalius/control.py
... ... @@ -385,6 +385,7 @@ class Controller():
385 385 def CreateAnalyzeProject(self, imagedata):
386 386 header = imagedata.get_header()
387 387 proj = prj.Project()
  388 + proj.imagedata = None
388 389 proj.name = _("Untitled")
389 390 proj.SetAcquisitionModality("MRI")
390 391 #TODO: Verify if all Analyse are in AXIAL orientation
... ...
invesalius/reader/analyze_reader.py
... ... @@ -29,9 +29,6 @@ def ReadAnalyze(filename):
29 29 anlz = squeeze_image(AnalyzeImage.from_filename(filename))
30 30 return anlz
31 31  
32   -
33   - return reader.GetOutput()
34   -
35 32 def ReadDirectory(dir_):
36 33 """
37 34 Looking for analyze files in the given directory
... ...