RE: [PyMOL] Help for user-defined functions

2004-01-22 Thread Warren L. DeLano
PM > To: Gareth Stockwell > Cc: pymol-users > Subject: Re: [PyMOL] Help for user-defined functions > > > Hi, > > I haven't seen this documented anywhere, so I have no idea if it's the > Right Way to do things, but I think all you need to do is add > >

Re: [PyMOL] Help for user-defined functions

2004-01-22 Thread Michael George Lerner
Hi, I haven't seen this documented anywhere, so I have no idea if it's the Right Way to do things, but I think all you need to do is add cmd.help_sc.append('some_func') after the cmd.extend('some_func',some_func) call. should this be built in to cmd.extend()? -michael -- This isn't a democrac

[PyMOL] Help for user-defined functions

2004-01-22 Thread Gareth Stockwell
Does anyone know if it is possible to add 'help' documentation to my own user-defined functions? What I want is to be able to define a new PyMOL command by executing the following script: #-- def some_func: ''' Some help docs here... ''' # Pyth