Configure leginoncfg Shared » History » Version 5
Anchi Cheng, 10/12/2011 12:46 PM
1 | 1 | Anchi Cheng | h1. Configure leginon.cfg |
---|---|---|---|
2 | |||
3 | 2 | Anchi Cheng | h2. The order in which Leginon/Appion looks for leginon.cfg |
4 | |||
5 | # individual user home directory |
||
6 | # $PYTHONSITEPKG/leginon/config |
||
7 | |||
8 | h2. configuration file template |
||
9 | |||
10 | 1 | Anchi Cheng | A skeleton (default) configuration file is available: |
11 | <pre> |
||
12 | $PYTHONSITEPKG/leginon/config/default.cfg |
||
13 | </pre> |
||
14 | where $PYTHONSITEPKG is your python site-packages directory |
||
15 | |||
16 | 2 | Anchi Cheng | h2. Create a global leginon.cfg |
17 | 1 | Anchi Cheng | |
18 | Copy default.cfg to leginon.cfg. |
||
19 | <pre> |
||
20 | sudo cp -v $PYTHONSITEPKG/leginon/config/default.cfg $PYTHONSITEPKG/leginon/config/leginon.cfg |
||
21 | </pre> |
||
22 | |||
23 | 5 | Anchi Cheng | 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|File Server Setup Considerations]] for more details |
24 | 4 | Anchi Cheng | |
25 | 3 | Anchi Cheng | 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, |
26 | 1 | Anchi Cheng | <pre> |
27 | [Images] |
||
28 | path: your_storage_disk_path/leginon |
||
29 | </pre> |