moleculekit.wrap module

moleculekit.wrap.wrap(coords, bonds, box, centersel=None)

Wrap the coords back into the unit cell. Molecules will remain continuous, so they may escape the bounds of the prinary unit cell.