[Dcmlib] [gdcm-python] SerieHelper_SetDirectory

Pascal Cathier pascal.cathier at gmail.com
Thu Jul 31 10:37:21 CEST 2008


On Wed, Jul 30, 2008 at 6:15 PM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:

>
> If this is ok with you and would like to stick to GDCM 1.3 for now, I
> would suggest you try to use the member function instead of the fake
> static member function, so you'll need an instance of the class.
>
> sh = gdcm.SerieHelper()
> sh.SetDirectory( '/tmp' )
>

I use static functions because I don't see any SerieHelper object in the
module

>>> _gdcm.SerieHelper()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'SerieHelper'

Maybe something went wrong in the building process. I'll check this out.

Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/dcmlib/attachments/20080731/3df8ff3c/attachment.html>


More information about the Dcmlib mailing list