Actions
Bug #2724
closedde12 getImage TypeError
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
04/17/2014
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 2.2.0
Show in known bugs:
No
Workaround:
Description
Error traceback:
>>> from pyscope import de >>> d = de.DE12() >>> d.getImage() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python25\lib\site-packages\pyscope\ccdcamera.py", line 230, in getIma ge return self._getImage() File "C:\Python25\lib\site-packages\pyscope\de.py", line 135, in _getImage image = self.finalizeGeometry(image) File "C:\Python25\lib\site-packages\pyscope\de.py", line 338, in finalizeGeome try image = DECameraBase.finalizeGeometry(self, image) TypeError: unbound method finalizeGeometry() must be called with DECameraBase in stance as first argument (got DE12 instance instead) >>>
Actions