File size: 497 Bytes
f15d29e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
__version__ = "1.0.0"
"""MatterGen crystal structure generation model."""

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from .generator import CrystalGenerator

__all__ = ["CrystalGenerator"]


def __getattr__(name: str):
    if name == "CrystalGenerator":
        from .generator import CrystalGenerator

        return CrystalGenerator
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")