choderalab / openmoltools

An open set of tools for automating tasks relating to small molecules
MIT License
63 stars 30 forks source link

Issues recognizing GAFF2 atom type #292

Open eventfulsean opened 4 years ago

eventfulsean commented 4 years ago

Hi,

I generated topology for a small mol using ACPYPE and trying to merge gaff2.dat with the .frcmod via 'processAmberForceField.py' but I'm getting the following error:

... element_symbol = md.formats.mol2.gaff_elements[atype] KeyError: 'ns'

Generating using ACPYPE a gaff type topology and merging it to gaff.dat works perfectly. The way I see it, 'ns' is a valid GAFF2 atom type so am not sure what's going on. I'm using gaff2.dat distributed in AmberTool18.

Thanks in advance.