Project

General

Profile

Actions

Configure leginoncfg Shared » History » Revision 14

« Previous | Revision 14/25 (diff) | Next »
Anchi Cheng, 06/06/2012 05:18 PM


Configure leginon.cfg

For older versions of Appion and Leginon (pre-2.2), please use the following instructions:
Instructions for Appion and Leginon versions prior to 2.2

The order in which Leginon/Appion looks for leginon.cfg

  1. individual user home directory
  2. $PYTHONSITEPKG/leginon
     
    Note: You can discover the $PYTHONSITEPKG path by starting python:
    python
    import sys
    sys.path
    

    The first path to site-packages should hold the config file.
     
  3. /etc/myami on Linux, and a global configuration directory standard on WIndows
    • Find the search directories by running the following python script in $PYTHONSITEPKG/leginon
      configcheck.py
      

Configuration file template

A skeleton (default) configuration file is available:

/path/to/myami/leginon/leginin.cfg.template

Create a global leginon.cfg

Copy leginon.cfg.template to leginon.cfg.

sudo cp -v /path/to/myami/leginon/leginin.cfg.template /etc/myami/leginon.cfg

Edit the newly created file and add a directory for images. Make sure you have permission to save files at this location. See File Server Setup Considerations for more details

You may put in a fake path on the microscope PC installation and ignore the error message at the start of Leginon if you follow our general rule of not saving any image directly from the microscope pc,

[Images]
path: your_storage_disk_path/leginon

Updated by Anchi Cheng over 12 years ago · 14 revisions