Skip to content

Commit

Permalink
v0.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Aug 29, 2023
1 parent 830830d commit 3f7bce8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

Release 0.9.6:

* Version compatible with aiida-common-workflows.

Release 0.9.5:

* Force make_dte_inputs to consider the psp to be in LDA
Expand All @@ -7,7 +11,7 @@ Release 0.9.5:

Release 0.9.4:

* Require pymatgen == 2023.7.17
* pymatgen == 2023.7.17 is highly recommended.

Release 0.9.3:

Expand Down
2 changes: 1 addition & 1 deletion abipy/core/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# release. 'dev' as a _version_extra string means this is a development version
_version_major = 0
_version_minor = 9
_version_micro = 4 # use '' for first of series, number for 1 and above
_version_micro = 6 # use '' for first of series, number for 1 and above
#_version_extra = 'dev'
_version_extra = '' # Uncomment this for full releases

Expand Down
4 changes: 2 additions & 2 deletions abipy/ml/aseml.py
Original file line number Diff line number Diff line change
Expand Up @@ -2214,9 +2214,9 @@ def get_energy_step(step: dict) -> float:

from pymatgen.io.vasp.outputs import Vasprun
vasprun = Vasprun(self.filepath)
num_steps = vasprun.ionic_steps
num_steps = len(vasprun.ionic_steps)
if self.traj_range is None: self.traj_range = range(0, num_steps, 1)
for istep, step in vasprun.ionic_steps:
for istep, step in enumerate(vasprun.ionic_steps):
#print(step.keys())
if not istep in self.traj_range: continue
structure, forces, stress = step["structure"], step["forces"], step["stress"]
Expand Down

0 comments on commit 3f7bce8

Please sign in to comment.