Skip to content

Commit

Permalink
Merge pull request #516 from ACEsuit/develop
Browse files Browse the repository at this point in the history
remove Literal for python >3.9
  • Loading branch information
ilyes319 committed Jul 16, 2024
2 parents b6a8eb5 + 1700cae commit 2d89108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mace/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.5"
__version__ = "0.3.6"
4 changes: 2 additions & 2 deletions mace/calculators/foundations_models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import urllib.request
from pathlib import Path
from typing import Literal, Union
from typing import Union

import torch
from ase import units
Expand All @@ -20,7 +20,7 @@ def mace_mp(
device: str = "",
default_dtype: str = "float32",
dispersion: bool = False,
damping: Literal["zero", "bj", "zerom", "bjm"] = "bj",
damping: str = "bj", # choices: ["zero", "bj", "zerom", "bjm"]
dispersion_xc: str = "pbe",
dispersion_cutoff: float = 40.0 * units.Bohr,
**kwargs,
Expand Down

0 comments on commit 2d89108

Please sign in to comment.