From 27c772004c364a0dfb1b570cc9f3bf20c4330ab7 Mon Sep 17 00:00:00 2001 From: Sylvain Tricot Date: Thu, 12 Dec 2019 17:02:12 +0100 Subject: [PATCH] Remove a print in utils.py --- src/msspec/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/msspec/utils.py b/src/msspec/utils.py index afd2708..06d6207 100644 --- a/src/msspec/utils.py +++ b/src/msspec/utils.py @@ -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."