VMD-L Mailing List
From: Don Havelberg (don_at_jabbasoft.com.au)
Date: Tue Mar 26 2002 - 17:16:00 CST
- Next message: Don Havelberg: "Re: python create graphics molecule"
- Previous message: Troy Wymore: "Resolution of movie?"
- In reply to: Justin Gullingsrud: "Re: python create graphics molecule"
- Next in thread: Don Havelberg: "Re: python create graphics molecule"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Oh, it does work, its just a bit disconcerting how it gives you an error about
the coordinate file.
>>> from molecule import *
>>> load('graphics', 'test')
Info) Loading new molecule ...
Info) Opened sensor config file /usr/local/lib/vmd/.vmdsensors
open of failed
Thanks,
Don
ERROR) Could not initialize file 'test' for input:
Info) Finished with coordinate file test.
> Hi,
>
> To create a graphics molecule, you 'load' a molecule of type 'graphics':
>
> molecule.load('graphics','chicken')
>
> After executing this command, the id of the new molecule will be that of the
> top molecule, which can be obtained from molecule.top().
>
> Justin
>
> On Wed, Mar 27, 2002 at 12:10:25AM +1100, Don Havelberg wrote:
> > To use the python graphics module you first need a id. The manual says to get
> > an id, to use the load command from the molecule modeule. But what if you dont
> > have one yet. Seems to me a bit like the chicken and the egg. But I dont really
> > understand python. Can I make an instance of a molecule?
> >
>
> --
>
> Justin Gullingsrud 3111 Beckman Institute
> H: (217) 384-4220 I got a million ideas that I ain't even rocked yet...
> W: (217) 244-8946 -- Mike D
- Next message: Don Havelberg: "Re: python create graphics molecule"
- Previous message: Troy Wymore: "Resolution of movie?"
- In reply to: Justin Gullingsrud: "Re: python create graphics molecule"
- Next in thread: Don Havelberg: "Re: python create graphics molecule"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]