Skip to content

Commit

Permalink
Merge branch 'mkphuthi/develop' of https://github.com/BattModels/asim…
Browse files Browse the repository at this point in the history
…tools into mkphuthi/develop
  • Loading branch information
mkphuthi committed Dec 16, 2024
2 parents 12a12e8 + f01815a commit 4511b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions asimtools/asimmodules/benchmarking/parity.py
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ def calc_parity_data(
if 'stress' in properties:
prop = 'stress'
srvals = np.hstack(
[srvals, np.array(atoms.get_stress()).flatten()]
[srvals, np.array(atoms.get_stress(voigt=False)).flatten()]
)

spvals = np.hstack(
@@ -200,7 +200,7 @@ def parity(
res[prop][source] = np.hstack(
[reses[jj][prop][source] for jj in range(len(reses))]
) * unit_factor

print(f'{prop.capitalize()} RMSE: {rmse(res[prop]["ref"], res[prop]["pred"])}')
write_csv_from_dict(
f'{prop}_parity.csv',
res[prop],

0 comments on commit 4511b8e

Please sign in to comment.