Related to this, I am now having a problem where I cannot use my previous setup to support the EFTEM mode and the GIF with myami2.2. Previously, I had used a workaround where I made new Tecnai and Gatan classes in pyscope, and treated the cameras/EM mode as different instruments entirely. After the update, Leginon is giving me the error below:
C:\Python25\Lib\site-packages\leginon>C:\python25\python.exe launcher.py
(importing fake libcv)
Traceback (most recent call last):
File "launcher.py", line 14, in <module>
import noderegistry
File "C:\python25\Lib\site-packages\leginon\noderegistry.py", line 33, in <mod
ule>
import leginon.allnodes
File "C:\python25\Lib\site-packages\leginon\allnodes.py", line 163, in <module
>
from driftmanager import DriftManager
File "C:\python25\Lib\site-packages\leginon\driftmanager.py", line 20, in <mod
ule>
import EM
File "C:\python25\Lib\site-packages\leginon\EM.py", line 15, in <module>
from pyscope import tem, ccdcamera, registry
File "C:\python25\Lib\site-packages\pyscope\registry.py", line 16, in <module>
for c in config.getTEMClasses():
File "C:\python25\Lib\site-packages\pyscope\config.py", line 93, in getTEMClas
ses
parse()
File "C:\python25\Lib\site-packages\pyscope\config.py", line 63, in parse
cls = getattr(mod, clsname)
AttributeError: 'module' object has no attribute 'GatanGIF'
The tecnai and gatan python files that I used are attached, as well as instruments.cfg. Note that when TecnaiEFTEM and GatanGIF are commented out in instruments.cfg, launcher.py actually works.