VMD-L Mailing List
From: hanif mahboobi (hanifmahboobi_at_yahoo.com)
Date: Sun Jul 31 2011 - 06:13:57 CDT
- Next message: Axel Kohlmeyer: "Re: moveby command"
- Previous message: Nima Nouri: "Re: a file for commands of console"
- Next in thread: Axel Kohlmeyer: "Re: moveby command"
- Reply: Axel Kohlmeyer: "Re: moveby command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD users
in the following part of the tcl code, moveby generates this error:
atomselect moveby: non-numeric in vector
I wonder how this issue can be handled. I need to use the values of some variables in "mobeby" command.
Regards,
Hanif
for {set countx 1} {$countx <= $segnum} {incr countx} {
for {set county 1} {$county <= $segnum} {incr county} {
for {set countz 1} {$countz <= $segnum} {incr countz} {
set segid P$countx$county$countz
segment $segid {
set offx [expr $countx*$driftx]
set offy [expr $county*$drifty]
set offz [expr $countz*$driftz]
$fsfg moveby {$offx $offy $offz}
$fsfg writepdb fsfg_shift_temp.pdb
pdb fsfg_shift_temp.pdb
}
coordpdb fsfg_shift_temp.pdb $segid
}
}
}
- Next message: Axel Kohlmeyer: "Re: moveby command"
- Previous message: Nima Nouri: "Re: a file for commands of console"
- Next in thread: Axel Kohlmeyer: "Re: moveby command"
- Reply: Axel Kohlmeyer: "Re: moveby command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]