Skip to content

Commit

Permalink
matplotlib agg fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
knc6 committed Sep 7, 2024
1 parent ea84615 commit 5e11792
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 28 deletions.
2 changes: 1 addition & 1 deletion alignn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version number."""

__version__ = "2024.8.27"
__version__ = "2024.8.30"
8 changes: 4 additions & 4 deletions alignn/ff/ff.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
from gpaw import GPAW, PW
except Exception:
pass
plt.switch_backend("agg")
# plt.switch_backend("agg")

# Cite: https://doi.org/10.1039/D2DD00096B
# Reference: https://doi.org/10.1039/D2DD00096B


def get_all_models():
Expand Down Expand Up @@ -126,8 +126,8 @@ def get_figshare_model_ff(

def default_path():
"""Get default model path."""
dpath = get_figshare_model_ff(model_name="v8.29.2024_dft_3d")
# dpath = get_figshare_model_ff(model_name="v5.27.2024")
dpath = get_figshare_model_ff(model_name="v5.27.2024")
# dpath = get_figshare_model_ff(model_name="v8.29.2024_dft_3d")
# dpath = get_figshare_model_ff(model_name="alignnff_wt10")
# dpath = get_figshare_model_ff(model_name="alignnff_fmult")
# print("model_path", dpath)
Expand Down
43 changes: 20 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,30 @@

setuptools.setup(
name="alignn",
version="2024.8.27",
version="2024.8.30",
author="Kamal Choudhary, Brian DeCost",
author_email="[email protected]",
description="alignn",
install_requires=[
"numpy>=1.19.5,<2.0.0",
"scipy>=1.6.1",
"jarvis-tools>=2021.07.19",
"torch>=2.0.0",
"mpmath<=1.3.0",
"dgl>=0.6.0",
"spglib>=2.0.2",
"scikit-learn>=0.22.2",
"matplotlib>=3.4.1",
"tqdm>=4.60.0",
"pandas>=1.2.3",
"pydantic>=1.8.1",
"pydantic-settings",
"flake8>=3.9.1",
"pycodestyle>=2.7.0",
"pydocstyle>=6.0.0",
"pyparsing>=2.2.1,<3",
"ase",
"lmdb",
# "pytorch-ignite>=0.5.0.dev20221024",
# "accelerate>=0.20.3",
# "dgl-cu101>=0.6.0",
# "numpy>=1.19.5,<2.0.0",
# "scipy>=1.6.1",
# "jarvis-tools>=2021.07.19",
# "torch>=2.0.0",
# "mpmath<=1.3.0",
# "dgl>=0.6.0",
# "spglib>=2.0.2",
# "scikit-learn>=0.22.2",
# "matplotlib>=3.4.1",
# "tqdm>=4.60.0",
# "pandas>=1.2.3",
# "pydantic>=1.8.1",
# "pydantic-settings",
# "flake8>=3.9.1",
# "pycodestyle>=2.7.0",
# "pydocstyle>=6.0.0",
# "pyparsing>=2.2.1,<3",
# "ase",
# "lmdb",
],
scripts=[
"alignn/pretrained.py",
Expand Down

0 comments on commit 5e11792

Please sign in to comment.