Skip to content

The GRACE-2L-OAM_28Jan25 was changed #7

Description

@jan-janssen

Starting on the 4th of March around 9pm we noticed that the download of the GRACE-2L-OAM_28Jan25 model changed when calling:

grace_models download GRACE_2L_OAM_28Jan25

With the new model the ASE interface breaks down and we get the following error message:

----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/atomistics/atomistics/tests/test_ase_interface/test_evcurve_ase_grace.py", line 27, in test_calc_evcurve
    ase_calculator = grace_fm("GRACE_2L_OAM_28Jan25")
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.11/site-packages/tensorpotential/calculator/foundation_models.py", line 144, in grace_fm
    calc = TPCalculator(
           ^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.11/site-packages/tensorpotential/calculator/asecalculator.py", line 334, in __init__
    {k: v for k, v in zip(element_map_symbols, element_map_index)}
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable

----------------------------------------------------------------------

I uploaded the original working version to https://github.com/jan-janssen/GRACE-2L-OAM_28Jan25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions