Hi Jason,

thanks for the reply. I was assuming that the load function works something like this:

def load():
  load_xyz()
  create_bonds()

I take it from your comments that what I called "create_bonds()" is not directly accessible? Or possibly not all contained in one function call?

nick


On Wed, Mar 10, 2010 at 21:43, Jason Vertrees <jason.vertrees@schrodinger.com> wrote:
Nick,

You can manually create/delete bonds using PyMOL builder (click the
"builder" button in the upper control window).  The command to create
a bond is "bond," but you really don't want to poke around the
internal code for bonds.  Feel free, but consider yourself warned.
:-)

Cheers,

-- Jason

On Wed, Mar 10, 2010 at 11:21 AM, Nicolas Bock <nicolasbock@gmail.com> wrote:
> Hello list,
>
> when I load an xyz file, pymol somehow manages to add bonds to the atoms.
> What function does that? Can I directly call that function to recalculate
> the bonds?
>
> nick
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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
>



--
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) Jason.Vertrees@schrodinger.com
(o) +1 (603) 374-7120