Remove a print in utils.py
This commit is contained in:
parent
cedbfd823e
commit
27c772004c
|
@ -270,8 +270,6 @@ def hemispherical_cluster(cluster, emitter_tag=0, emitter_plane=0, diameter=0, p
|
||||||
c = cell[:, 2].max() # a lattice parameter
|
c = cell[:, 2].max() # a lattice parameter
|
||||||
a = cell[:, 0].max() # a lattice parameter
|
a = cell[:, 0].max() # a lattice parameter
|
||||||
p = np.alen(np.unique(np.round(cluster.get_positions()[:, 2], 4))) # the number of planes in the cluster
|
p = np.alen(np.unique(np.round(cluster.get_positions()[:, 2], 4))) # the number of planes in the cluster
|
||||||
with np.printoptions(threshold=np.inf):
|
|
||||||
print(cluster.get_tags() == emitter_tag)
|
|
||||||
symbol = cluster[np.where(cluster.get_tags() == emitter_tag)[0][0]].symbol # the symbol of your emitter
|
symbol = cluster[np.where(cluster.get_tags() == emitter_tag)[0][0]].symbol # the symbol of your emitter
|
||||||
|
|
||||||
assert (diameter != 0 or planes != 0), "At least one of diameter or planes parameter must be use."
|
assert (diameter != 0 or planes != 0), "At least one of diameter or planes parameter must be use."
|
||||||
|
|
Loading…
Reference in New Issue