mosdef-hub / foyer

A package for atom-typing as well as applying and disseminating forcefields
https://foyer.mosdef.org
MIT License
117 stars 75 forks source link

deep copy in nbfix doesn't preserve all structure attributes #529

Closed jaclark5 closed 1 year ago

jaclark5 commented 1 year ago

Bug summary

When using nbfix, I expect to successfully apply a forcefield and write the structure to a lammps data file. Instead, I obtain the error: File ".....mbuild/mbuild/formats/lammpsdata.py", line 170, in write_lammpsdata structure = structure.copy(cls=Structure, split_dihedrals=True) File ".....python3.8/site-packages/parmed/structure.py", line 613, in copy for l in self.links:

Software versions