it's on the wiki now:
http://pymolwiki.org/index.php/Pml2py
Cheers,
Thomas
Thomas Holder wrote, On 04/09/11 11:17:
> Michael Lerner wrote, On 04/08/11 20:16:
>> It's not elegant at all, but it's worth knowing that you can use
>> cmd.do("...") as a quick fix for lines that aren't immediately e
y-working script attached, have fun!
Cheers,
Thomas
--
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen
'''
http://sourceforge.net/mailarchive/message.php?msg_id=27331786
Subject: [PyMOL] Convert pml script to Pymol Python script
Date: Fri, 8 Apr 2011 1
Jason Vertrees wrote, On 04/08/11 20:09:
> Hi Matthias,
>
> There is no script that I'm aware of, but writing one should be rather
> straightforward because of how the API is organized:
>
> commandName arg1, arg2, arg3
>
> becomes
>
> cmd.commandName(arg1, arg2, arg3)
I would use the cmd.keywo
It's not elegant at all, but it's worth knowing that you can use
cmd.do("...") as a quick fix for lines that aren't immediately easy to
convert.
Even a mostly-working pml2py tool would be a useful addition to the wiki.
Cheers,
-Michael
On Fri, Apr 8, 2011 at 2:09 PM, Jason Vertrees <
jason.vert
Hi Matthias,
There is no script that I'm aware of, but writing one should be rather
straightforward because of how the API is organized:
commandName arg1, arg2, arg3
becomes
cmd.commandName(arg1, arg2, arg3)
The hardest part would be determining when to quote strings versus not
quoting numbers
Hi,
I have a few pml scripts for pymol that I would like to rewrite
properly in python, making use of Pymol's ability to interprete Python
scripts.
Do you know of an interpreter that converts pml scripts automatically
to python scripts for Pymol? Since the number of tasks that you can do
in pml i