Skip to content

Model not in Materials Project error #17

Description

@AbbyGi

If a combination of elements has no models in the Materials Project, a ValueError occurs

pi = PhaseIdentification()
pi.find_phase_nn(apikey='', elementList=['F', 'Na', 'Li'], fileName='', cutDataStart=1, q_dep_shift=1.0, const_shift=0.0)

Error:

ValueError: max() args is an empty sequence

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