[Gdcm2] gdcm.IPPSorter.GetFilenames not available from Python
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Charl B. <c.p...@tu...> - 2008-04-18 22:47:10
|
Dear Mathieu,
Any idea why the following is happening?:
# try calling GetFilenames on IPPSorter instance
s = gdcm.IPPSorter()
s.GetFilenames()
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\build\jwd\build\gdcm-build\bin\gdcm.py", line 2354, in <lambda>
__getattr__ = lambda self, name: _swig_getattr(self, IPPSorter, name)
File "C:\build\jwd\build\gdcm-build\bin\gdcm.py", line 38, in _swig_getattr
raise AttributeError,name
AttributeError: GetFilenames
# this DOES work on a gdcm.Sorter instance:
s = gdcm.Sorter()
s.GetFilenames()
()
I checked: in the swig-generated code, there is no
IPPSorter_GetFilenames, only the Sorter_GetFilenames. Something to do
with the C++ method signature?
Thank you for any help,
Charl
|