Skip to content

Commit a5f3328

Browse files
committed
revert to whole structure + cleanup
1 parent 92f1e83 commit a5f3328

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

crystal_toolkit/renderables/migrationgraph.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import numpy as np
32
from 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

0 commit comments

Comments
 (0)