schrodinger.structutils.pbc_tools module

Glean PBC from a Structure

schrodinger.structutils.pbc_tools.get_pbc(st1, st2, honor_pbc=None)

If the structures are the same, and have a PBC, then return it. Otherwise, return None.

Parameters

honor_pbc (bool) – Should a PBC be discovered from the Structure objects?

Return type

NoneType or schrodinger.infra.structure.PBC