Project

General

Profile

Actions

Bug #2724

closed

de12 getImage TypeError

Added by Anchi Cheng over 10 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
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

Also available in: Atom PDF