Project

General

Profile

Configure leginoncfg » History » Version 12

Anchi Cheng, 05/18/2010 07:48 PM

1 2 Amber Herold
h1. Configure leginon.cfg
2 1 Amber Herold
3
A skeleton (default) configuration file is available:
4
<pre>
5 5 Neil Voss
$PYTHONSITEPKG/leginon/config/default.cfg
6 1 Amber Herold
</pre>
7 6 Neil Voss
where $PYTHONSITEPKG is your python site-packages directory
8 1 Amber Herold
9 6 Neil Voss
10
Copy default.cfg to leginon.cfg.
11 4 Neil Voss
<pre>
12 8 Neil Voss
sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg
13 1 Amber Herold
</pre>
14
15 10 Amber Herold
Edit the newly created file and add a directory for images. Make sure you have permission to save files at this location.
16 1 Amber Herold
<pre>
17 6 Neil Voss
[Images]
18
path: your_storage_disk_path/leginon
19 1 Amber Herold
</pre>
20
21 11 Amber Herold
The rest of the configuration options are fine left as default.
22 2 Amber Herold
23
_______
24
25 12 Anchi Cheng
[[Install Appion Packages|< Install Appion/Leginon Packages]] | [[Explanation of Sample Names|Explanation of Sample Names >]]
26 3 Amber Herold
27 1 Amber Herold
______