Skip to content

Commit

Permalink
add pytest for the write_cube method in Cp2kCube class
Browse files Browse the repository at this point in the history
  • Loading branch information
robinzyb committed Jul 13, 2024
1 parent 26e2df3 commit 19e4202
Show file tree
Hide file tree
Showing 4 changed files with 36,026 additions and 0 deletions.
1 change: 1 addition & 0 deletions cp2kdata/cube/cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ def reduce_resolution(self, stride, axis='xyz'):

return new_cube

# methods begin with _ are private methods
@staticmethod
def _parse_gs_matrix(fname: str) -> npt.NDArray[np.float64]:
content_list = file_content(fname, (3, 6))
Expand Down
Loading

0 comments on commit 19e4202

Please sign in to comment.