Skip to content

Commit

Permalink
ensure good default value
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Jun 30, 2021
1 parent f0c6fc8 commit 857df9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmet-core/emmet/core/vasp/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def from_task_doc(
input_hubbards = task_doc.input.hubbards

# Checking U-values
if valid_input_set.incar.get("LDAU") or len(input_hubbards) > 0:
if valid_input_set.incar.get("LDAU", False) or len(input_hubbards) > 0:
# Assemble required input_set LDAU params into dictionary
input_set_hubbards = dict(
zip(
Expand Down

0 comments on commit 857df9a

Please sign in to comment.