Closed zmzeng closed 6 years ago
Hi Zhongming,
Sorry for the delay. The reason you are getting an error is because it is searching for the TIP4P force field types in the UFF4MOF forcefield. To fix this you have to run the command:
python lammps_interface.py -ff UFF4MOF --insert-molecule TIP4P_Water --molecule-ff TIP4P HfBTB-MOL-Ni0.cif
so just add the --molecule-ff TIP4P
and it should work properly. Seems a little redundant, but the intention was that you could insert a general particle like 'methane' and then apply whatever force field you wanted to it with the --molecule-ff command.
Let me know if you still experience problems. Pete
Hi, I am encountered
KeyError: 'OW' while using --insert-molecule
while using --insert-molecule TIP4P water. The .cif file is Okey for convert by lammps_interface.Thanks! Zhongming