Project

General

Profile

Actions

Configure leginoncfg Shared » History » Revision 4

« Previous | Revision 4/25 (diff) | Next »
Anchi Cheng, 03/04/2011 02:58 PM


Configure leginon.cfg

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

  1. individual user home directory
  2. $PYTHONSITEPKG/leginon/config

configuration file template

A skeleton (default) configuration file is available:

$PYTHONSITEPKG/leginon/config/default.cfg

where $PYTHONSITEPKG is your python site-packages directory

Create a global leginon.cfg

Copy default.cfg to leginon.cfg.

sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg

Edit the newly created file and add a directory for images. Make sure you have permission to save files at this location.

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 almost 14 years ago · 4 revisions