Skip to content

'liechtenstein' Hubbard formulation #1220

@liborvojacek

Description

@liborvojacek

When trying to set the Hubbard formulation to 'liechtenstein' in an instance of the Hubbard class, I'm getting

File ".../aiida_quantumespresso/utils/hubbard.py", line 69, in get_hubbard_card
    line = f'{pre}\t{atom_i}-{man_i} \t{value}'  # noqa: F821
              ^^^
UnboundLocalError: cannot access local variable 'pre' where it is not associated with a value

Version 4.16.0

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