Skip to content

get_location raises ValueError: The following atomic numbers are not defined for this descriptor #166

@sylviancadars

Description

@sylviancadars

Dear Dscripe developpers,

I have been using ValeOganov class to extract partials and measure distances between structures. However it turns out that for certain elements (e.g. "Hf") the get_location function does not work:

atoms = atoms_list[0]
species = list(set(atoms.get_chemical_symbols()))
species.sort()
vo = ValleOganov(species, function="distance", n=100, sigma=0.2, r_cut=10.0, dtype="float32")
vo.get_location(["Hf", "Ba"])

ValueError: The following atomic numbers are not defined for this descriptor: {72, 56}

Is this a known issue ? Could you provide a simple workaround until a fix is implemented ?
Thank you very much.
Best regards.
Sylvian.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions