Package executable alias name in Appion » History » Revision 12
Revision 11 (Anchi Cheng, 01/25/2018 04:59 PM) → Revision 12/14 (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 <pre> cd /usr/local/bin ln -s ctffind64.exe ctffind4 </pre> Next time, when you start a shell, try: <pre> which ctffind4 </pre> 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. <pre> python python> import deProcessFrames </pre> h2. Program/module call alias name in Appion (myami-3.3, myami-beta branches, and trunk) {{package [[package alias table}} table]]