VMD-L Mailing List
From: Leonardo Trabuco (ltrabuco_at_ks.uiuc.edu)
Date: Thu May 31 2007 - 18:01:55 CDT
- Next message: Axel Kohlmeyer: "Re: Using regular expressions on tcl atomselection"
- Previous message: Cesar Luis Avila: "Using regular expressions on tcl atomselection"
- In reply to: Cesar Luis Avila: "Using regular expressions on tcl atomselection"
- Next in thread: Axel Kohlmeyer: "Re: Using regular expressions on tcl atomselection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Thu, May 31, 2007 at 07:45:32PM -0300, Cesar Luis Avila wrote:
> How may I use regular expressions for atomselection on tcl console?
> For selecting all atoms starting with H in the graphical interface you write
> name "H.*"
>
> But on tcl console
> [atomselect top "name H.*"]
> cannot be used. What would be the correct expression?
atomselect top {name "H.*"}
Best,
Leo
-- Leonardo Trabuco, Ph.D. student Theoretical and Computational Biophysics Group University of Illinois at Urbana-Champaign
- Next message: Axel Kohlmeyer: "Re: Using regular expressions on tcl atomselection"
- Previous message: Cesar Luis Avila: "Using regular expressions on tcl atomselection"
- In reply to: Cesar Luis Avila: "Using regular expressions on tcl atomselection"
- Next in thread: Axel Kohlmeyer: "Re: Using regular expressions on tcl atomselection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]