Test Appion » History » Version 1
Amber Herold, 04/15/2010 11:48 AM
1 | 1 | Amber Herold | h1. Test Appion |
---|---|---|---|
2 | |||
3 | If appion is installed locallaly in your home directory (you are the only user that can execute it), |
||
4 | you will need to add myami and appion to the python path. |
||
5 | |||
6 | * Go into the appion directory |
||
7 | |||
8 | Open .bashrc in your home directory and edit it at the end of the file: |
||
9 | Add the following lines: |
||
10 | |||
11 | <pre> |
||
12 | $ export PYTHONPATH="/your-complete-path-to-myami":"/your-complete-path-to-myami/appion":$PYTHONPATH |
||
13 | $ export PATH="/your-complete-path-to-myami/appion/bin":$PATH |
||
14 | </pre> |
||
15 | |||
16 | * Add appion to PYTHONPATH |
||
17 | |||
18 | <pre> |
||
19 | $ export PYTHONPATH="/your-complete-path-to-myami/appion":$PYTHONPATH |
||
20 | </pre> |
||
21 | |||
22 | *TODO: Consider moving appionlib so you only need to set one path.* |
||
23 | |||
24 | To confirm the changes, open a new terminal and type: |
||
25 | <pre> |
||
26 | $ export |
||
27 | </pre> |
||
28 | |||
29 | Look for the PATH and PYTHONPATH in the output. The paths that you entered should be there. |
||
30 | |||
31 | * Run the test script |
||
32 | |||
33 | If you have installed appion for all users (the script does not exist yet) or it is local and you have added the paths above, you are ready to run the test. |
||
34 | |||
35 | <pre> |
||
36 | $ ./check.sh |
||
37 | </pre> |
||
38 | |||
39 | *NOTE* |
||
40 | You can ignore EMAN, MATLAB, and UCSF Chimera errors at this point |