Hi Bradley,

The first argument is the setting, which is a string, and the second is the value for that setting, which is also a string, to be interpreted according to the setting. Actually, for sphere_scale it's also not size, but a multiplication factor to the size.

Hope it helps,

Tsjerk

On Jan 26, 2011 4:42 PM, "Bradley Hintze" <bradley.h@aggiemail.usu.edu> wrote:

Hi all,

I have a question regarding the changing of sphere size in a PyMOL API. When I use the command as presented on the PyMOLwiki, namely:

cmd.set ("sphere_scale", size=1, selection='', state=0, updates=1, log=0, quiet=1)

I get an error saying 

set() got an unexpected keyword argument 'size'

I get the error wether 'size' is a string or an integer. What am I missing?

Thanks,
Bradley

--
Bradley J. Hintze
Graduate Student
Duke University
School of Medicine
801-712-8799

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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