在MDAnalysis模块中关闭Universe

时间:2015-07-14 16:45:46

标签: python module mdanalysis

是否可以在MDAnalysis模块中关闭或卸载Universe? 我没有在MDAnalysis页面上找到任何这样的功能 我想用另一个模块修改轨迹,然后在MDAnalysis中再次加载它,但我得到了以下内容:

File "/home/eh22/local/lib/python2.7/site-packages/lsdmap/util/metric.py", line 231, in get_distance_matrix
    for ts in u.trajectory:
File "/home/eh22/local/lib/python2.7/site-packages/MDAnalysis-0.8.1-py2.7-linux-ppc64.egg/MDAnalysis/coordinates/xdrfile/core.py", line 602, in __iter__
    ts = self._read_next_timestep()
File "/home/eh22/local/lib/python2.7/site-packages/MDAnalysis-0.8.1-py2.7-linux-ppc64.egg/MDAnalysis/coordinates/xdrfile/core.py", line 651, in _read_next_timestep
    (self.format, statno.errorcode[ts.status]), self.filename)
IOError: [Errno 14] Problem with XTC file, status exdrMAGIC: 'traj1.xtc'

0 个答案:

没有答案