ACEsuit / mace

MACE - Fast and accurate machine learning interatomic potentials with higher order equivariant message passing.
Other
415 stars 157 forks source link

can't create MACECalculator #362

Closed bernstei closed 3 months ago

bernstei commented 3 months ago

As per @ilyes319 's request, I switched to the develop branch, and now I can't even create a MACECalculator

Traceback (most recent call last):
  File "/home/cluster2/bernstei/src/work/NiOxHy/fit_iterative_stage_010/./fit_iter_010_MD_sample.py", line 42, in <module>                                
    from mace.calculators import MACECalculator
  File "/home/cluster2/bernstei/.local/lib/python3.9/site-packages/mace/calculators/__init__.py", line 1, in <module>                                     
    from .foundations_models import mace_anicc, mace_mp, mace_off
  File "/home/cluster2/bernstei/.local/lib/python3.9/site-packages/mace/calculators/foundations_models.py", line 213, in <module>                         
    model_path: str | Path = None,
TypeError: unsupported operand type(s) for |: 'type' and 'type'

Is it because I'm still using python 3.9?

ilyes319 commented 3 months ago

fixed that if you can try again

bernstei commented 3 months ago

Looks good now.