File tree Expand file tree Collapse file tree
crystal_toolkit/renderables Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
21import numpy as np
32from pymatgen .analysis .diffusion .neb .full_path_mapper import MigrationGraph
43
@@ -43,7 +42,7 @@ def get_migrationgraph_scene(
4342 CTK scene object to be rendered
4443 """
4544
46- result_scene = self .only_sites .get_scene ()
45+ result_scene = self .structure .get_scene ()
4746 hop_contents = []
4847
4948 for k , one_hop in self .unique_hops .items ():
@@ -56,11 +55,9 @@ def get_migrationgraph_scene(
5655 one_hop_contents .append (hop_cyl )
5756
5857 if one_hop ["to_jimage" ] != (0 , 0 , 0 ):
59- print (k )
6058 extras_cross_boundary = _get_extras_cross_boundary (one_hop , self .only_sites )
6159 one_hop_contents .extend (extras_cross_boundary )
6260
63- print (one_hop_contents )
6461 one_hop_scene = Scene (name = f"hop_{ k } " , contents = one_hop_contents )
6562 hop_contents .append (one_hop_scene )
6663
You can’t perform that action at this time.
0 commit comments