Closed GoogleCodeExporter closed 9 years ago
Hi Mohammad,
a quick hack to also change the box is to modify ts._unitcell. For XTC/TRR it
records the box vectors [[ax,ay,az], [bx,by,bz], [cx,cy,cz]].
Doing this in a better way through ts.dimensions would be good so I am renaming
the issue. Ideally, the following should eventually work:
ts.dimensions = [A,B,C, alpha,beta,gamma]
(i.e. setting the unitcell using MDAnalysis' canonical format, which is then
translated to whatever the trajectory writer needs).
Oliver
Original comment by orbeckst
on 17 Dec 2014 at 11:44
Thanks Oliver!
I tried the ts.dimension but it did not work, however, the ts._unitcell did the
job.
Thanks
Mohammad
Original comment by mohd.alw...@gmail.com
on 18 Dec 2014 at 12:40
Original comment by richardjgowers
on 10 Jan 2015 at 5:49
This issue was closed by revision 00952ec921d9.
Original comment by richardjgowers
on 11 Jan 2015 at 1:10
Original issue reported on code.google.com by
mohd.alw...@gmail.com
on 17 Dec 2014 at 9:11Attachments: