Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Nov 28, 2024
1 parent 46fb4da commit 882300e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apax/nodes/md.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ApaxJaxMD(zntrack.Node):
index of the configuration from the data list to use
model: ApaxModel
model to use for the simulation
repeat: float
repeat: None|int|tuple[int, int, int]
number of repeats
config: str
path to the MD simulation parameter file
Expand All @@ -36,7 +36,7 @@ class ApaxJaxMD(zntrack.Node):
data_id: int = zntrack.params(-1)

model: ApaxBase = zntrack.deps()
repeat: typing.Optional[bool] = zntrack.params(None)
repeat: None|int|tuple[int, int, int] = zntrack.params(None)

config: str = zntrack.params_path(None)

Expand Down
2 changes: 1 addition & 1 deletion apax/nodes/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Apax(ApaxBase):
verbosity of logging during training
"""

data: list = zntrack.deps()
data: list[ase.Atoms] = zntrack.deps()
config: str = zntrack.params_path()
validation_data: list[ase.Atoms] = zntrack.deps()
model: t.Optional[ApaxBase] = zntrack.deps(None)
Expand Down

0 comments on commit 882300e

Please sign in to comment.