def show(self): """ show the molecule """ from pyxtal.viz import display_molecules return display_molecules([self.mol])
def show(self, overlay=True): from pyxtal.viz import display_molecules if overlay: return display_molecules([self.ref_mol, self.mol_aligned]) else: return display_molecules([self.ref_mol, self.molecule])