Amber-MD / pytraj

Python interface of cpptraj
https://amber-md.github.io/pytraj
170 stars 38 forks source link

deprecated crdinfo in write_traj #1454

Closed hainm closed 6 years ago

hainm commented 6 years ago
pt.write_traj('hey.nc', traj, crdinfo={'has_velocity': True})

should be

pt.write_traj('hey.nc', traj, velocity=True)
hainm commented 6 years ago

ha, I think I made it a while ago https://github.com/Amber-MD/pytraj/blob/0dc27bbb96f445899877da2484d7109a5d3f75a5/pytraj/io.py#L347-L354