Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with ase.filters #107

Closed
2 of 4 tasks
Atefeh-Yadegarifard opened this issue Dec 19, 2023 · 1 comment
Closed
2 of 4 tasks

problem with ase.filters #107

Atefeh-Yadegarifard opened this issue Dec 19, 2023 · 1 comment
Labels
ase Atomic simulation environment

Comments

@Atefeh-Yadegarifard
Copy link

Email (Optional)

No response

Version

0.3.3

Which OS(es) are you using?

  • MacOS
  • Windows
  • Linux

What happened?

Hello.
I have installed the latest version of chgnet and I am unable to initialize it.
chgnet version 0.3.3
ase version 3.22.1

Code snippet

from chgnet.model.model import CHGNet

Log output

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 1
----> 1 from chgnet.model.model import CHGNet

File ~/miniconda3/lib/python3.11/site-packages/chgnet/model/__init__.py:3
      1 from __future__ import annotations
----> 3 from chgnet.model.dynamics import CHGNetCalculator, MolecularDynamics, StructOptimizer
      4 from chgnet.model.model import CHGNet
      6 __all__ = ["CHGNet", "StructOptimizer", "MolecularDynamics", "CHGNetCalculator"]

File ~/miniconda3/lib/python3.11/site-packages/chgnet/model/dynamics.py:13
     11 from ase import Atoms, units
     12 from ase.calculators.calculator import Calculator, all_changes, all_properties
---> 13 from ase.filters import Filter, FrechetCellFilter
     14 from ase.md.npt import NPT
     15 from ase.md.nptberendsen import Inhomogeneous_NPTBerendsen, NPTBerendsen

ModuleNotFoundError: No module named 'ase.filters'

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Atefeh-Yadegarifard Atefeh-Yadegarifard added the bug Something isn't working label Dec 19, 2023
@BowenD-UCB
Copy link
Collaborator

BowenD-UCB commented Dec 19, 2023

Hi,

The issue comes from the dependency in ase.filters
Please refer to ase install in the release
Before the official release of ASE pypi package, the installation can only be accessable from gitlab.

The update in the v0.3.3 is to implemente the new FrechetCellFilter in StructOptimizer for better relaxation accuracy and speed.

@BowenD-UCB BowenD-UCB added ase Atomic simulation environment and removed bug Something isn't working labels Feb 21, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ase Atomic simulation environment
Projects
None yet
Development

No branches or pull requests

2 participants