Ah, thank you very much this is exactly what I need!
I know it's not super safe, but for rapid development, this will be perfect!
Thanks!
On 07/18/2014 02:25 PM, Thomas Holder wrote:
> Hi Matt,
>
> python has some limited support to reload a module. I actually used that a
> lot when developing t
Hi Matt,
python has some limited support to reload a module. I actually used that a lot
when developing the plugin manager. This is just a hint, use with caution:
set_key F1, import pmg_tk;reload(pmg_tk.startup.foo)
https://docs.python.org/2/library/functions.html#reload
This will not re-invok
Hi,
It is possible for users to run without a GUI, but it has a GUI and when
I am making changes to it I would like faster turn around times between
edits to my code.
Matt
On 07/18/2014 02:08 PM, Sampson, Jared wrote:
Hi Matt -
Does your plugin require a GUI, or can you rely on scripted comm
Hi Matt -
Does your plugin require a GUI, or can you rely on scripted commands and output
files for your tests?
For any tests that don’t need the GUI, you might consider running them with
something like `pymol -ckq my_test.pml`.
http://www.pymolwiki.org/index.php/Command_Line_Options
Cheers,
Hi Matt -
Does your plugin require a GUI, or can you rely on scripted commands and output
files for your tests?
For any tests that don’t need the GUI, you might consider running them with
something like `pymol -ckq my_test.pml`.
http://www.pymolwiki.org/index.php/Command_Line_Options
Cheers,
Hi,
Thank you for you suggestions.
However, I was looking for a way to do it without restarting pymol if
possible. Currently, restarting is the fastest solution, but it still
takes up about 10-15 seconds to close pymol, restart it, and have it
load the structures I need to test my script.
One
Hej Matthew,
1. The advantage of using the plugin manager is that it will automatically
import all the plugin in the 'plugins' folder of the 'pymol-script-repo'.
This should re-load you plugin if it is located in a folder managed by the
plugin manager. The loading of plugins located therein occurs