Re: [PyMOL] pymol in pthyon get_wizard() problems

2016-10-11 Thread Thomas Holder
cmd.get_wizard() takes no arguments and returns the current active wizard. If there is no active wizard, it returns None. PyMOL> print cmd.get_wizard() None PyMOL> cmd.wizard("mutagenesis") PyMOL> print cmd.get_wizard() There is no wizard architecture documentation other than code, I'm sorry.

Re: [PyMOL] pymol in pthyon get_wizard() problems

2016-10-11 Thread Timothy Craig
Yes I totally agree, the question I have is "What needs to go there?". I tried using things like: pymol.cmd.get_wizard("mutagenesis").set_dep("dep") since in the previous line I called: pymol.cmd.wizard("mutagenesis") but then I get this error: --- Traceback (most recent

Re: [PyMOL] pymol in pthyon get_wizard() problems

2016-10-11 Thread Sampson, Jared M.
Hi Tim - It seems to me that cmd.get_wizard() needs some argument to be passed to it, because right now that function is returning `None`. This explains the error, which states you're trying to call .set_dep() of a `None` object. Hope that helps. Cheers, Jared On Oct 11, 2016, at 2:48 PM, Tim