Project

General

Profile

Configure leginoncfg Shared » History » Revision 2

Revision 1 (Anchi Cheng, 05/20/2010 10:46 PM) → Revision 2/25 (Anchi Cheng, 05/22/2010 09:11 PM)

h1. Configure leginon.cfg 

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

 # individual user home directory 
 # $PYTHONSITEPKG/leginon/config 

 h2. configuration file template 

 A skeleton (default) configuration file is available: 
 <pre> 
 $PYTHONSITEPKG/leginon/config/default.cfg 
 </pre> 
 where $PYTHONSITEPKG is your python site-packages directory 

 h2. Create a global leginon.cfg 

 


 Copy default.cfg to leginon.cfg. 
 <pre> 
 sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg 
 </pre> 

 Edit the newly created file and add a directory for images. Make sure you have permission to save files at this location. 
 <pre> 
 [Images] 
 path: your_storage_disk_path/leginon 
 </pre>