VMD-L Mailing List
From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Thu Mar 01 2007 - 09:28:55 CST
- Next message: Axel Kohlmeyer: "Re: calculation of free energy between lipid membrane and protein"
- Previous message: Peter Freddolino: "Re: Transform pdb files in psf files using VMD"
- In reply to: Per Jr. Greisen: "convert tcl to python"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Please see the VMD manual entry on manipulating atom selections:
http://www.ks.uiuc.edu/Research/vmd/current/ug/node149.html
sel.get('charge') is probably what you're after here.
Peter
Per Jr. Greisen wrote:
> Hi,
>
> I am doing some calculation in vmd and would like to write the script in
> python. How to I convert the following into python
>
> set tp_charge [$tmp get {charge}]
>
> thanks in advance
>
>
>
- Next message: Axel Kohlmeyer: "Re: calculation of free energy between lipid membrane and protein"
- Previous message: Peter Freddolino: "Re: Transform pdb files in psf files using VMD"
- In reply to: Per Jr. Greisen: "convert tcl to python"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]