Skip to content

Commit

Permalink
Merge pull request #298 from OMalenfantThuot/dropout_ase
Browse files Browse the repository at this point in the history
same dropout, but for ase
  • Loading branch information
OMalenfantThuot committed Mar 18, 2022
2 parents 33d9227 + bddcee3 commit 3ff5cb4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mlcalcdriver/calculators/ase_calculators/asespkcalculator.py
Expand Up @@ -11,7 +11,13 @@ class to use directly inside ASE funtions.
"""

def __init__(
self, model_dir, available_properties=None, device="cpu", md=False, **kwargs
self,
model_dir,
available_properties=None,
device="cpu",
md=False,
dropout=False,
**kwargs
):
r"""
Parameters
Expand All @@ -25,6 +31,8 @@ def __init__(
md : bool
Default is False. Should be set to True if the
calculator is used for molecular dynamics.
dropout : bool
Same as :class:`SchnetPackCalculator`.
units : dict
Same as :class:`SchnetPackCalculator`.
"""
Expand All @@ -34,6 +42,7 @@ def __init__(
available_properties=available_properties,
device=device,
md=md,
dropout=dropout,
)
self.implemented_properties = (
self.schnetpackcalculator._get_available_properties()
Expand Down

0 comments on commit 3ff5cb4

Please sign in to comment.