/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/gromacs/gromacstop.py:1124: GromacsWarning: 58 1-4 pairs were missing from the [ pairs ] section and were set to zero; make sure you know what you're doing!
warnings.warn('%i 1-4 pairs were missing from the [ pairs ] '
Traceback (most recent call last):
File "/home/xqx/Documents/sudafangshe/ga/sobtop/ga/parm.py", line 3, in <module>
gmx_top = pmd.load_file('dotatoc_small_opt.top', xyz='dotatoc_small_opt.gro')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/formats/registry.py", line 211, in load_file
return cls(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/gromacs/gromacstop.py", line 350, in __init__
f = load_file(xyz, skip_bonds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/formats/registry.py", line 194, in load_file
return cls.parse(filename, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/gromacs/gromacsgro.py", line 177, in parse
leng, ang = box_vectors_to_lengths_and_angles(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/geometry.py", line 131, in box_vectors_to_lengths_and_angles
alpha = acos((b[0]*c[0] + b[1]*c[1] + b[2]*c[2]) / (lb*lc))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
ZeroDivisionError: float division by zero
您好,请问问题解决了嘛,我碰到了类似的问题,用editconf加了个盒子,但有同样的报错。
1-4 pairs were missing from the [ pairs ] section and were set to zero作者Author: Azrael 时间: 2024-6-13 16:05