- all this is using the version of python that you use to run analysis (you may need to set the environment variables TCL_LIBRARY etc to get i to work (see $CCPNMR_TOP_DIR/bin/analysis)
- this is using ccpns own downloaded python
- change to $CCPNMR_TOP_DIR/python2.4/Python-2.4.2/Modules/
- edit Setup and uncomment line at about line 160 which reads 'readline readline.c -lreadline -ltermcap'
- cd to $CCPNMR_TOP_DIR/python2.4/Python-2.4.2
- run python setup.py install
Friday, April 28, 2006
munging readline in analysis
some programs such as IPython and faetures such as command line hcacking require gnu readline. Here is what I did under ubuntu to get it going
Get ipython in analysis
- download ipython http://ipython.scipy.org/dist/
- extract to your ccpnm directory tar ipython-0.7.1.fix1.tar.gz
- go to tar ipython-0.7.1
- type
setup.py install whereis the python you used to install analysis - edit $CCPNMR_TOP_DIR/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py
- at about line 52 after import Tkinter put import IPython on a new line
- at about line 105 add:
from IPython.Shell import IPShellEmbed
ipshell = IPShellEmbed()
ipshell()
Thursday, April 20, 2006
analysis spin systems editor
analysis, edit spin system dialog: you can display strips and display cells... So why is it missing a button with a name something like 'display resonances'.
Friday, April 07, 2006
Subscribe to:
Posts (Atom)