VMD-L Mailing List
From: KIRTANA S (skirtana4_at_gmail.com)
Date: Fri Jul 08 2011 - 14:37:11 CDT
- Next message: Axel Kohlmeyer: "Re: import selection in array for script"
- Previous message: Jacob Story: "RE: Quadro FX1800 , Stereo and VMD"
- Next in thread: Axel Kohlmeyer: "Re: import selection in array for script"
- Reply: Axel Kohlmeyer: "Re: import selection in array for script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Can I import one selection before loading the script.
I want to have all my residue in a list So I can later access the residue
list with foreach command in tcl.
I tried as one reply in the VMD list
for {set i 1} {$i <10 } {incr i} {
set sel1($i) [atomselect top "resid $i"]
}
then call the loop for frames
This sends me an error sel1(10) no such element.
Where I need to make the change.
Regards
kirtana
- Next message: Axel Kohlmeyer: "Re: import selection in array for script"
- Previous message: Jacob Story: "RE: Quadro FX1800 , Stereo and VMD"
- Next in thread: Axel Kohlmeyer: "Re: import selection in array for script"
- Reply: Axel Kohlmeyer: "Re: import selection in array for script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]