When I run the command according to the GROMACS tutorial, I got the below result
This script has been tested with NetworkX 2.3, and 2.4 is buggy.
Please install version 2.3 for best performance:
pip uninstall networkx
pip install networkx==2.3
NOTE 1: Code tested with Python 3.5.2 and 3.7.3. Your version: 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0]
NOTE 2: Code tested with NetworkX 2.3. Your version: 2.5
NOTE 3: Please be sure to use the same version of CGenFF in your simulations that was used during parameter generation:
--Version of CGenFF detected in jz4.str : 4.4
--Version of CGenFF detected in charmm36-jul2020.ff/forcefield.doc : 4.4
NOTE 4: To avoid duplicated parameters, do NOT select the 'Include parameters that are already in CGenFF' option when uploading a molecule into CGenFF.
Traceback (most recent call last):
File "cgenff_charmm2gmx_py3_nx2.py", line 1044, in
m.read_mol2_coor_only(mol2_name)
File "cgenff_charmm2gmx_py3_nx2.py", line 904, in read_mol2_coor_only
self.G.node[atomi]['x'] = float(entry[2])
AttributeError: 'Graph' object has no attribute 'node'