Package executable alias name in Appion » History » Revision 12
« Previous |
Revision 12/14
(diff)
| Next »
Anchi Cheng, 01/25/2018 05:00 PM
Appion scripts interact with external packages in one of the two ways: Executing a shell command, or through python call. The name of the file in the call may not be the same as the standard installation as described by the package distributor.
If it is accessed from shell, you should either create soft link (preferred) or rename the file you downloaded (not best practice since you may get confused later. Test its accessibility from the environment you would run appion script.
For example, ctffin4 of whatever version would typically installed in /usr/local/bin. The executable file in there is called ctffind4.exe. You should do
cd /usr/local/bin ln -s ctffind64.exe ctffind4
Next time, when you start a shell, try:
which ctffind4
It should be able to find the link and the actual executable file.ctffind64.exe
For files called through python, the file need to be in the environment variable PYTHONPATH You can test it in the appion environment with an import test.
python python> import deProcessFrames
Program/module call alias name in Appion (myami-3.3, myami-beta branches, and trunk)¶
{{package alias table}}
Updated by Anchi Cheng almost 7 years ago · 12 revisions