-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from materialsvirtuallab/mace-support
Add MACE to recognized `UNIVERSAL_CALCULATORS`
- Loading branch information
Showing
6 changed files
with
64 additions
and
56 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
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
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
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 |
---|---|---|
|
@@ -7,46 +7,44 @@ name = "matcalc" | |
authors = [ | ||
|
||
{ name = "Eliott Liu", email = "[email protected]" }, | ||
{ name = "Ji Qi", email = "[email protected]" }, | ||
{ name = "Tsz Wai Ko", email = "[email protected]" }, | ||
{ name = "Janosh Riebesell", email = "[email protected]" }, | ||
{ name = "Ji Qi", email = "[email protected]" }, | ||
{ name = "Shyue Ping Ong", email = "[email protected]" }, | ||
{ name = "Tsz Wai Ko", email = "[email protected]" }, | ||
] | ||
description = "Calculators for materials properties from the potential energy surface." | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
keywords = [ | ||
"materials", | ||
"interatomic potential", | ||
"force field", | ||
"science", | ||
"property prediction", | ||
"AI", | ||
"machine learning", | ||
"graph", | ||
"deep learning", | ||
"force field", | ||
"graph", | ||
"interatomic potential", | ||
"machine learning", | ||
"materials", | ||
"property prediction", | ||
"science", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3", | ||
"Topic :: Scientific/Engineering :: Chemistry", | ||
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"ase", "pymatgen", "joblib", "phonopy" | ||
] | ||
dependencies = ["ase", "joblib", "phonopy", "pymatgen"] | ||
version = "0.0.3" | ||
|
||
[project.optional-dependencies] | ||
models = ["matgl", "chgnet"] | ||
models = ["chgnet", "mace@git+https://github.com/ACEsuit/mace", "matgl>=0.9.0"] | ||
|
||
[tool.setuptools] | ||
packages = ["matcalc"] | ||
|
@@ -60,42 +58,42 @@ target-version = ["py39"] | |
target-version = "py39" | ||
line-length = 120 | ||
select = [ | ||
"B", # flake8-bugbear | ||
"C4", # flake8-comprehensions | ||
"D", # pydocstyle | ||
"E", # pycodestyle error | ||
"EXE", # flake8-executable | ||
"F", # pyflakes | ||
"I", # isort | ||
"ICN", # flake8-import-conventions | ||
"ISC", # flake8-implicit-str-concat | ||
"PD", # pandas-vet | ||
"B", # flake8-bugbear | ||
"C4", # flake8-comprehensions | ||
"D", # pydocstyle | ||
"E", # pycodestyle error | ||
"EXE", # flake8-executable | ||
"F", # pyflakes | ||
"I", # isort | ||
"ICN", # flake8-import-conventions | ||
"ISC", # flake8-implicit-str-concat | ||
"PD", # pandas-vet | ||
"PERF", # perflint | ||
"PIE", # flake8-pie | ||
"PL", # pylint | ||
"PT", # flake8-pytest-style | ||
"PYI", # flakes8-pyi | ||
"Q", # flake8-quotes | ||
"RET", # flake8-return | ||
"RSE", # flake8-raise | ||
"RUF", # Ruff-specific rules | ||
"SIM", # flake8-simplify | ||
"PIE", # flake8-pie | ||
"PL", # pylint | ||
"PT", # flake8-pytest-style | ||
"PYI", # flakes8-pyi | ||
"Q", # flake8-quotes | ||
"RET", # flake8-return | ||
"RSE", # flake8-raise | ||
"RUF", # Ruff-specific rules | ||
"SIM", # flake8-simplify | ||
"SLOT", # flake8-slots | ||
"TCH", # flake8-type-checking | ||
"TID", # tidy imports | ||
"TID", # flake8-tidy-imports | ||
"UP", # pyupgrade | ||
"W", # pycodestyle warning | ||
"YTT", # flake8-2020 | ||
"TCH", # flake8-type-checking | ||
"TID", # tidy imports | ||
"TID", # flake8-tidy-imports | ||
"UP", # pyupgrade | ||
"W", # pycodestyle warning | ||
"YTT", # flake8-2020 | ||
] | ||
ignore = [ | ||
"B019", # functools.lru_cache on methods can lead to memory leaks | ||
"D105", # Missing docstring in magic method | ||
"D205", # 1 blank line required between summary line and description | ||
"D212", # Multi-line docstring summary should start at the first line | ||
"PLR", # pylint refactor | ||
"B019", # functools.lru_cache on methods can lead to memory leaks | ||
"D105", # Missing docstring in magic method | ||
"D205", # 1 blank line required between summary line and description | ||
"D212", # Multi-line docstring summary should start at the first line | ||
"PLR", # pylint refactor | ||
"PLW0603", # Using the global statement to update variables is discouraged | ||
"SIM105", # Use contextlib.suppress(OSError) instead of try-except-pass | ||
"SIM105", # Use contextlib.suppress(OSError) instead of try-except-pass | ||
] | ||
pydocstyle.convention = "google" | ||
isort.required-imports = ["from __future__ import annotations"] | ||
|
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 |
---|---|---|
|
@@ -5,5 +5,5 @@ coveralls | |
mypy | ||
ruff | ||
black | ||
matgl==0.8.1 | ||
matgl==0.9.0 | ||
chgnet==0.2.0 |
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