From 371a7514ed00da1b69ec487cd9cf3c021a66f642 Mon Sep 17 00:00:00 2001 From: tfmoraes Date: Wed, 9 Mar 2011 19:31:14 +0000 Subject: [PATCH] Opening analyze files again --- invesalius/control.py | 1 + invesalius/reader/analyze_reader.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index 3493c4e..bf8ad43 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -385,6 +385,7 @@ class Controller(): def CreateAnalyzeProject(self, imagedata): header = imagedata.get_header() proj = prj.Project() + proj.imagedata = None proj.name = _("Untitled") proj.SetAcquisitionModality("MRI") #TODO: Verify if all Analyse are in AXIAL orientation diff --git a/invesalius/reader/analyze_reader.py b/invesalius/reader/analyze_reader.py index d134904..8546df7 100644 --- a/invesalius/reader/analyze_reader.py +++ b/invesalius/reader/analyze_reader.py @@ -29,9 +29,6 @@ def ReadAnalyze(filename): anlz = squeeze_image(AnalyzeImage.from_filename(filename)) return anlz - - return reader.GetOutput() - def ReadDirectory(dir_): """ Looking for analyze files in the given directory -- libgit2 0.21.2