Skip to content

Commit

Permalink
Fix cell for non orthogonal cell
Browse files Browse the repository at this point in the history
  • Loading branch information
nnn911 committed Jun 5, 2023
1 parent 89f0058 commit a72fea2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyironFileReader"
version = "2023.0"
version = "2023.1"
description = "OVITO Python file reader for the h5 data containers written by pyiron."
keywords = ["ovito", "python-file-reader"]
authors = [{name = "Daniel Utt", email = "[email protected]"}]
Expand Down
2 changes: 1 addition & 1 deletion src/pyironFileReader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def parse(

# Cell
cellMatrix = np.zeros((3, 4))
cellMatrix[:3, :3] = f[key]["output/generic/cells"][localIdx]
cellMatrix[:3, :3] = np.transpose(f[key]["output/generic/cells"][localIdx])
if self.roundCell:
for idx in ((0, 1), (0, 2), (1, 0), (1, 2), (2, 0), (2, 1)):
cellMatrix[idx] = (
Expand Down

0 comments on commit a72fea2

Please sign in to comment.