VMD-L Mailing List
From: Jose Borreguero (borreguero_at_gmail.com)
Date: Tue Apr 10 2012 - 17:32:11 CDT
- Next message: Axel Kohlmeyer: "Re: topotools writelammps data"
- Previous message: winardi, erik: "topotools writelammps data"
- Next in thread: Axel Kohlmeyer: "Re: saving dcd file different if by script or by interactive mode"
- Reply: Axel Kohlmeyer: "Re: saving dcd file different if by script or by interactive mode"
- Reply: Kei Sit: "RE: saving dcd file different if by script or by interactive mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMD users,
I have the following little script that reads an AMBER dcd trajectory and
outputs a dcd trajectory formatted by VMD:
mol new system.top type parm7
animate read dcd amber.dcd beg 0 end 9
animate write dcd vmd.dcd beg 0 end 9 waitfor all
The script works well when entering the commands one by one in the main vmd
window. However, if submitted as a script ( vmd -dispdev none -e
script.tcl ), it will only save the first frame, that is, vmd.dcd will
contain only the first frame.
I am new to scripting with VMD, I really don't know what I am missing
here. Any help is greatly appreciated.
Best regards,
Jose
- Next message: Axel Kohlmeyer: "Re: topotools writelammps data"
- Previous message: winardi, erik: "topotools writelammps data"
- Next in thread: Axel Kohlmeyer: "Re: saving dcd file different if by script or by interactive mode"
- Reply: Axel Kohlmeyer: "Re: saving dcd file different if by script or by interactive mode"
- Reply: Kei Sit: "RE: saving dcd file different if by script or by interactive mode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]