[Insight-users] sorry, im again with wrappers

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Jul 28 04:58:51 EDT 2005


On Wed, 27 Jul 2005 15:04:33 +0200, Brad King <brad.king at kitware.com>  
wrote:

> Gaetan Lehmann wrote:
>> Thanks to point the fixedarray namespace location problem :-)
>> Sadely, it doesn't resolve the problem: _itkSample is no created. I  
>> still  get the same messages.
>> Have you sucessfully wrapped the Sample class ?
>
> Yes, with that exact file I sent you.  I could load the wrappers and  
> view the sample methods.  I couldn't create an instance of it though  
> because it is an abstract class.
>

I found the problem. It's just the import order.

Replacing

   from itkbasicfilters import *
   from itknumerics import *

in itkalgorithms.py by

   from itknumerics import *
   from itkbasicfilters import *

solve the problem.

Gaetan


-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-users mailing list