From: Arne D. <adi...@go...> - 2011-09-19 21:01:42
|
That is a hot tip. However, can I also specify some path that would tell pymol the location of my scripts? I have a number of scripts that I need to call while already in Pymol and I do not want to type in the complete path every time. Also, copying these scripts to the current working directory is not a really good solution. Cheers, Arne On Sep 19, 2011, at 12:48 AM, Thomas Holder wrote: > Hi Lina, > > you can put a .pymolrc file in your home directory, it's a script that > PyMOL will read on each startup. You can have it either in PyMOL syntax > or as a python script, depending on the file extension. > > /home/lina/.pymolrc (in PyMOL syntax) > /home/lina/.pymolrc.py (in python syntax) > > http://www.pymolwiki.org/index.php/Pymolrc > > Then create a directory -- lets say /home/lina/.pymol -- and put the > PyMOLWiki scripts there. And in your .pymolrc you put lines like these > (PyMOL syntax): > > run /home/lina/.pymol/Grepsel.py > run /home/lina/.pymol/Polarpairs.py > run /home/lina/.pymol/Propka.py > ... and so on > > Cheers, > Thomas > > lina wrote, On 09/19/11 07:10: >> Hi, >> >> Just a quick Q: >> >> How can I better organize those *.py I mainly obtained from pymol wiki, >> not those can be installed by the plugins, >> >> pymol run in different directory each time. >> >> Thanks, >> >> -- >> Best Regards, >> >> lina > > -- > Thomas Holder > MPI for Developmental Biology > Spemannstr. 35 > D-72076 Tübingen > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... |