evolutionaryscale/esm

Missing esm.utils.structure.metrics in v3.0.7

Closed this issue · 0 comments

Hi! I'm getting an error from a fresh install with the v3.0.7 release. esm.utils.structure.metrics seems to be missing from the repo.

❯ python                                                                                                                                                 (test)
Python 3.10.15 | packaged by conda-forge | (main, Oct 16 2024, 01:24:20) [Clang 17.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from esm.models.esm3 import ESM3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/wudw/micromamba/envs/test/lib/python3.10/site-packages/esm/models/esm3.py", line 20, in <module>
    from esm.sdk.api import (
  File "/Users/wudw/micromamba/envs/test/lib/python3.10/site-packages/esm/sdk/__init__.py", line 3, in <module>
    from esm.sdk.forge import ESM3ForgeInferenceClient
  File "/Users/wudw/micromamba/envs/test/lib/python3.10/site-packages/esm/sdk/forge.py", line 15, in <module>
    from esm.sdk.api import (
  File "/Users/wudw/micromamba/envs/test/lib/python3.10/site-packages/esm/sdk/api.py", line 15, in <module>
    from esm.utils import encoding
  File "/Users/wudw/micromamba/envs/test/lib/python3.10/site-packages/esm/utils/encoding.py", line 30, in <module>
    from esm.utils.structure.protein_chain import ProteinChain
  File "/Users/wudw/micromamba/envs/test/lib/python3.10/site-packages/esm/utils/structure/protein_chain.py", line 29, in <module>
    from esm.utils.structure.metrics import compute_lddt_ca
ModuleNotFoundError: No module named 'esm.utils.structure.metrics'
❯ pip list | grep esm                                                                                                                                    (test)
esm                3.0.7