Skip to content

BUG: spin-orbit coupling failed with pydantic #1217

@zhenyaofang

Description

@zhenyaofang

Hi,

I was wondering if atomate2 is currently implemented with VASP calculations with spin-orbit coupling.

When I ran calculations with SOC, I encountered a validation error from the pydantic module; in SOC calculations magnetic moments for each atom are a list of 3 float numbers, but it seems that pydantic only accepts a float number (see attached screenshot).

Is there a recommended way to address or work around this issue? Thanks very much for your help.

Image

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