From: HEMANTH H (hemanth.h_at_iitgn.ac.in)
Date: Thu May 21 2020 - 00:18:46 CDT

Dear All,

I am trying to write out a few frames from my namd dcd file using the
following tcl script. I am able to write out the frames to the dcd file,
but it is overwriting the previous dcd frame written. Any suggestions are
welcome.

if {$nbasedist < 3.8} {
if {$angle < 30.1 || $angle > 149.9}
then {
animate write dcd $stacked beg $f end $f
}
else
{
animate write dcd $unstacked beg $f end $f
}
}
else
{
animate write dcd $unstacked beg $f end $f
}

}
This the part of the script that fails.

-- 
*Hemanth H 18310019*
Research Scholar
IIT Gandhinagar