Re: [PyMOL] Dynamic reloading of plugin

2016-04-30 Thread Martin Hediger
Thats great input. Thanks alot, will check. Martin On 27.04.16 20:36, Sampson, Jared M. wrote: Hi Martin - I've also experienced this kind of tedium. Depending on the type of extension it is, you could also consider writing tests for your function that can be run by either: a) importing P

Re: [PyMOL] Dynamic reloading of plugin

2016-04-27 Thread Sampson, Jared M.
Hi Martin - I've also experienced this kind of tedium. Depending on the type of extension it is, you could also consider writing tests for your function that can be run by either: a) importing PyMOL commands into a python (.py) script and running e.g. `nosetests` or other unit testing softwa

Re: [PyMOL] Dynamic reloading of plugin

2016-04-25 Thread Thomas Holder
Hi Martin, how about: set_key F1, run script.py; function_from_script() Reduces step 3) and 4) to hitting "F1" on the keyboard. Cheers, Thomas On 24 Apr 2016, at 06:36, Martin Hediger wrote: > Hi all > > When working on a PyMOL extension script, my workflow is currently something > like

[PyMOL] Dynamic reloading of plugin

2016-04-24 Thread Martin Hediger
Hi all When working on a PyMOL extension script, my workflow is currently something like this: 1) Start PyMOL 2) Work on script 3) PyMOL> run script.py 4) PyMOL> function_from_script() 5) See if function works, go back to 2) Is it possible to have PyMOL automatically re-run the script everyti