Skip to content

Commit 5af971b

Browse files
committed
Removed a lot of print and fixed a bug in save_enhanced_xyz
1 parent bc9e0a9 commit 5af971b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/Ensemble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ def save_enhanced_xyz(self, filename, append_mode = True, stress_key = "stress",
866866
info += '{}={:.16f} '.format(energy_key, self.energies[i] * Rydberg)
867867

868868
# Add the virial stress
869-
stress_data = - self.stresses[i].ravel * CC.Units.RY_PER_BOHR3_TO_EV_PER_A3
869+
stress_data = - self.stresses[i].ravel() * CC.Units.RY_PER_BOHR3_TO_EV_PER_A3
870870
info += '{}="{:20.16f} {:20.16f} {:20.16f} {:20.16f} {:20.16f} {:20.16f} {:20.16f} {:20.16f} {:20.16f}" '.format(stress_key, *list(stress_data))
871871

872872
# Add the secription of the xyz format

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.1",
92+
version = "1.3.2.1",
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)