VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Wed Sep 13 2006 - 16:43:31 CDT
- Next message: Peter Freddolino: "Re: drawing of direction vectors for conformational transition"
- Previous message: John Stone: "Re: puts format"
- In reply to: Alexandr Isayev: "Re: puts format"
- Next in thread: John Stone: "Re: puts format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On 9/13/06, Alexandr Isayev <alex_at_ccmsi.us> wrote:
> Dear Lily,
> Probably easiest way:
>
> Open output file in editor and do batch remove of "{" and "}"
> symbols :)
ouch. this can be done from within tcl itself.
selections always return lists of lists.
so you simply do:
foreach i [$sel get {whatever you want to get}] {
puts -nonewline $file "$i "
}
puts $file
cheers,
axel.
> Sincerely,
>
> Alexandr
>
>
>
>
>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: Peter Freddolino: "Re: drawing of direction vectors for conformational transition"
- Previous message: John Stone: "Re: puts format"
- In reply to: Alexandr Isayev: "Re: puts format"
- Next in thread: John Stone: "Re: puts format"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]