Project

General

Profile

Default template image location

Added by Bob Grassucci over 10 years ago

When we upgraded Leginon the default location of the template image did not change from the python 2.6 sub directory to python 2.7 subdirectory so now all users have to browse to find it. Where do we change the location of where it looks for the template image?


Replies (1)

RE: Default template image location - Added by Anchi Cheng over 10 years ago

Template file is set in the Settings for Template of which ever target selection node you are doing, such as "Hole Exposure".

When you leave it empty, it looks up the location of Leginon installation with python code like this that you can test:

from leginon import version
print version.getInstalledLocation()

If you have multiple python on that machine, it may get mixed up when a python file import another one. You will need to resolve this. Other things may get wrong, giving you a mixture of Leginon library versions.

    (1-1/1)