Remove a print in utils.py

This commit is contained in:
Sylvain Tricot 2019-12-12 17:02:12 +01:00
parent cedbfd823e
commit 27c772004c
1 changed files with 0 additions and 2 deletions

View File

@ -270,8 +270,6 @@ def hemispherical_cluster(cluster, emitter_tag=0, emitter_plane=0, diameter=0, p
c = cell[:, 2].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
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
assert (diameter != 0 or planes != 0), "At least one of diameter or planes parameter must be use."