Skip to content

lattice_constant does not accept list of floats in calculations section #276

Description

@if3598

Hello! I am trying to use calphy v2.0.1 to calculate the free energy of an HCP crystal with two lattice constants. The documentation says that in the calculations section of the input file, the lattice_constant field can be assigned either a float or list of floats:

Image

However, when I assign a list of two floats:

- element: Ti
  lattice: hcp
  lattice_constant: [2.95, 4.68]
  mass: 47.867

I get this error:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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