示例#1
0
 def show(self):
     """
     show the molecule
     """
     from pyxtal.viz import display_molecules
     return display_molecules([self.mol])
示例#2
0
文件: io.py 项目: gipfeli/PyXtal
 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])