forked from deepmodeling/deepmd-kit
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jinzhe Zeng <[email protected]>
- Loading branch information
Showing
11 changed files
with
105 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias of deepmd_utils.loggers.loggers for backward compatibility.""" | ||
from deepmd_utils.loggers.loggers import * # noqa: F403 | ||
from deepmd_utils.loggers.loggers import ( | ||
set_log_handles, | ||
) | ||
|
||
__all__ = ["set_log_handles"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.argcheck_nvnmd import * # noqa: F403 | ||
from deepmd_utils.utils.argcheck_nvnmd import ( | ||
nvnmd_args, | ||
) | ||
|
||
__all__ = [ | ||
"nvnmd_args", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.argcheck import * # noqa: F403 | ||
from deepmd_utils.utils.argcheck import ( | ||
gen_args, | ||
gen_doc, | ||
gen_json, | ||
normalize, | ||
type_embedding_args, | ||
) | ||
|
||
__all__ = [ | ||
"normalize", | ||
"gen_doc", | ||
"gen_json", | ||
"gen_args", | ||
"type_embedding_args", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.compat import * # noqa: F403 | ||
from deepmd_utils.utils.compat import ( | ||
convert_input_v0_v1, | ||
convert_input_v1_v2, | ||
deprecate_numb_test, | ||
update_deepmd_input, | ||
) | ||
|
||
__all__ = [ | ||
"convert_input_v0_v1", | ||
"convert_input_v1_v2", | ||
"deprecate_numb_test", | ||
"update_deepmd_input", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.data import * # noqa: F403 | ||
from deepmd_utils.utils.data import ( | ||
DeepmdData, | ||
) | ||
|
||
__all__ = [ | ||
"DeepmdData", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.data_system import * # noqa: F403 | ||
from deepmd_utils.utils.data_system import ( | ||
DeepmdDataSystem, | ||
) | ||
|
||
__all__ = [ | ||
"DeepmdDataSystem", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.pair_tab import * # noqa: F403 | ||
from deepmd_utils.utils.pair_tab import ( | ||
PairTab, | ||
) | ||
|
||
__all__ = [ | ||
"PairTab", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.path import * # noqa: F403 | ||
from deepmd_utils.utils.path import ( | ||
DPH5Path, | ||
DPOSPath, | ||
DPPath, | ||
) | ||
|
||
__all__ = [ | ||
"DPPath", | ||
"DPOSPath", | ||
"DPH5Path", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.plugin import * # noqa: F403 | ||
from deepmd_utils.utils.plugin import ( | ||
Plugin, | ||
PluginVariant, | ||
VariantABCMeta, | ||
VariantMeta, | ||
) | ||
|
||
__all__ = [ | ||
"Plugin", | ||
"VariantMeta", | ||
"VariantABCMeta", | ||
"PluginVariant", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.random import * # noqa: F403 | ||
from deepmd_utils.utils.random import ( | ||
choice, | ||
random, | ||
seed, | ||
shuffle, | ||
) | ||
|
||
__all__ = [ | ||
"choice", | ||
"random", | ||
"seed", | ||
"shuffle", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
# SPDX-License-Identifier: LGPL-3.0-or-later | ||
"""Alias for backward compatibility.""" | ||
from deepmd_utils.utils.weight_avg import * # noqa: F403 | ||
from deepmd_utils.utils.weight_avg import ( | ||
weighted_average, | ||
) | ||
|
||
__all__ = [ | ||
"weighted_average", | ||
] |