Skip to content

Commit

Permalink
Removed TypeAlias for compatibility with py3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
FNTwin committed Mar 1, 2024
1 parent bc49b9d commit cedf344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openqdc/utils/atomization_energies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Dict, Tuple, TypeAlias
from typing import Dict, Tuple

import numpy as np
from loguru import logger
Expand All @@ -10,7 +10,7 @@

__all__ = ["chemical_symbols", "atomic_numbers", "IsolatedAtomEnergyFactory"]

EF_KEY: TypeAlias = Tuple[str, int]
EF_KEY = Tuple[str, int]

atomic_numbers = {}
chemical_symbols = np.array(
Expand Down

0 comments on commit cedf344

Please sign in to comment.