[PyMOL] Background colors in PyMOL 1.6

2013-09-19 Thread Nils NN
Hello,   I recently installed PyMOL 1.6 on my Debian machine. I have noticed that the description of the background colors has somehow changed. The command "get bg_color" returns [R,G,B] values in all previous versions, while since 1.6 it only returns values  like "black" (which messes up some of

Re: [PyMOL] Trouble with saving mol2 format

2013-09-19 Thread Thomas Holder
Hi Jacob, saving to mol2 format is only fully supported in incentive PyMOL. It uses a proprietary library for the atom type assignment, which is not available in open-source PyMOL. Cheers, Thomas Jacob Pessin wrote, On 09/19/13 00:05: > Hi, > > I've come across an issue saving .mol2 ( @ ) fil

Re: [PyMOL] Guessing bonds for a chempy model.

2013-09-19 Thread Thomas Holder
Hi Raul, I don't think the bond guessing routine is exposed to the python API. This would actually be very useful, so I take this as a feature request. Meanwhile, I guess you need some workaround like dumping to PDB format and loading as PDB again. Have a look at cmd.get_pdbstr and cmd.read_pdbstr

Re: [PyMOL] Background colors in PyMOL 1.6

2013-09-19 Thread Jason Vertrees
Hi Nils, We've updated how PyMOL stores colors in sessions. You can try, cmd.get_color_tuple(cmd.get("bg_rgb")) or if you need it as a list: list(cmd.get_color_tuple(cmd.get("bg_rgb"))) Cheers, -- Jason On Thu, Sep 19, 2013 at 5:17 PM, Nils NN wrote: > Hello, > > I recently installed PyMO