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, Timothy Craig
<utimcr...@gmail.com<mailto:utimcr...@gmail.com>> wrote:
Hello,
I'm trying to adapt this script in python to do a variety of different
mutations from a csv file using this previous message as a template.
https://sourceforge.net/p/pymol/mailman/message/11671708/
I'm a python novice so please excuse me if this is something simple. Here is a
line that I have in my script that is giving me an error, which is now quite
long so I don't want to post it all here now:
-----------
pymol.cmd.get_wizard().set_dep("dep")
error:
Error: unable to get setting type.
Traceback (most recent call last):
File "pngCSVmutate.py", line 141, in <module>
pymol.cmd.get_wizard().set_dep("dep")
AttributeError: 'NoneType' object has no attribute 'set_dep'
--------
It seems like something needs to go in the parentheses for get_wizard() since
that's where the NoneType is coming from. Sadly there is no pymol wiki page on
get_wizard<https://pymolwiki.org/index.php?search=get_wizard&title=Special%3ASearch&go=Go>
so I'm not sure where to look for the answer. Does anyone have an idea or an
example of the proper use of get_wizard() in python?
Thanks in advance for your help,
-Tim
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org<http://slashdot.org>!
http://sdm.link/slashdot_______________________________________________
PyMOL-users mailing list
(PyMOL-users@lists.sourceforge.net<mailto:PyMOL-users@lists.sourceforge.net>)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net