Skip to content

Commit

Permalink
Do not use .project_hdf5
Browse files Browse the repository at this point in the history
Since this actually raises an error instead of returning None it fails when calling this function on a non MD job.
  • Loading branch information
pmrv committed Dec 21, 2023
1 parent bb93280 commit c285da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_atomistics/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@


def _vasp_energy_kin_affected(job):
e_kin = job.project_hdf5["output/generic/dft/scf_energy_kin"]
e_kin = job["output/generic/dft/scf_energy_kin"]
return e_kin is not None and not isinstance(e_kin, np.ndarray)


Expand Down

0 comments on commit c285da3

Please sign in to comment.