Skip to content

Commit

Permalink
converted cp2k node to ips.Node (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-R-Schaefer authored Dec 3, 2024
1 parent 62ee390 commit c5d785a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipsuite/calculators/cp2k.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def frames(self):
return atoms


class CP2KSinglePoint(base.ProcessAtoms):
class CP2KSinglePoint(base.IPSNode):
"""Node for running CP2K Single point calculations.
Parameters
Expand All @@ -184,6 +184,8 @@ class CP2KSinglePoint(base.ProcessAtoms):
A cp2k Node that has a wfn restart file.
"""

data: list[ase.Atoms] = zntrack.deps()

cp2k_shell: str | None = zntrack.params(None)
cp2k_params: str = zntrack.params_path("cp2k.yaml")
cp2k_files: str = zntrack.deps_path(None)
Expand Down

0 comments on commit c5d785a

Please sign in to comment.