Skip to content

Commit d601198

Browse files
committed
Removed prints
1 parent 5af971b commit d601198

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

Modules/Ensemble.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -791,12 +791,8 @@ def save_bin(self, data_dir, population_id = 1):
791791
self.dyn_0.save_qe("%s/dyn_gen_pop%d_" % (data_dir, population_id))
792792

793793
if np.all(len(list(x)) > 0 for x in self.all_properties):
794-
print('YES PROPERTIES')
795794
with open(os.path.join(data_dir, "all_properties_pop%d.json" % population_id), "w") as fp:
796795
json.dump({"properties" : self.all_properties}, fp, cls=NumpyEncoder)
797-
else:
798-
print('NOOO WHAT IS HAPPENING')
799-
print(self.all_properties)
800796

801797
def save_extxyz(self, filename, append_mode = True):
802798
"""
@@ -3149,20 +3145,15 @@ def compute_ensemble(self, calculator, compute_stress = True, stress_numerical =
31493145
self.remove_noncomputed()
31503146

31513147
if is_cluster:
3152-
print("BEFORE COMPUTING:", self.all_properties)
31533148
cluster.compute_ensemble(computing_ensemble, calculator, compute_stress)
31543149

31553150
else:
31563151
computing_ensemble.get_energy_forces(calculator, compute_stress, stress_numerical, verbose = verbose)
31573152

3158-
print("CE BEFORE MERGE:", len(self.force_computed))
31593153

31603154
if should_i_merge:
31613155
# Remove the noncomputed ensemble from here, and merge
31623156
self.merge(computing_ensemble)
3163-
print("CE AFTER MERGE:", len(self.force_computed))
3164-
3165-
print('ENSEMBLE ALL PROPERTIES:', self.all_properties)
31663157

31673158
def merge(self, other):
31683159
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
# Prepare the compilation of the Python Conde
9191
setup( name = "python-sscha",
92-
version = "1.3.2.1",
92+
version = "1.3.2.2",
9393
description = "Python implementation of the sscha code",
9494
author = "Lorenzo Monacelli",
9595
url = "https://github.com/mesonepigreco/python-sscha",

0 commit comments

Comments
 (0)