Project

General

Profile

Configure leginoncfg » History » Version 13

Anchi Cheng, 05/20/2010 10:45 PM

1 2 Amber Herold
h1. Configure leginon.cfg
2 1 Amber Herold
3 13 Anchi Cheng
[[Configure leginoncfg Shared]]
4
5 1 Amber Herold
A skeleton (default) configuration file is available:
6
<pre>
7 5 Neil Voss
$PYTHONSITEPKG/leginon/config/default.cfg
8 1 Amber Herold
</pre>
9 6 Neil Voss
where $PYTHONSITEPKG is your python site-packages directory
10 1 Amber Herold
11 6 Neil Voss
12
Copy default.cfg to leginon.cfg.
13 4 Neil Voss
<pre>
14 8 Neil Voss
sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg
15 1 Amber Herold
</pre>
16
17 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.
18 1 Amber Herold
<pre>
19 6 Neil Voss
[Images]
20
path: your_storage_disk_path/leginon
21 1 Amber Herold
</pre>
22
23 11 Amber Herold
The rest of the configuration options are fine left as default.
24 2 Amber Herold
25
_______
26
27 12 Anchi Cheng
[[Install Appion Packages|< Install Appion/Leginon Packages]] | [[Explanation of Sample Names|Explanation of Sample Names >]]
28 3 Amber Herold
29 1 Amber Herold
______