Skip to content

Commit

Permalink
Update emmet-core/emmet/core/vasp/material.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamd committed Mar 22, 2021
1 parent d7c8362 commit 026bc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emmet-core/emmet/core/vasp/material.py
Expand Up @@ -54,7 +54,7 @@ def from_tasks(
quality_scores: quality scores for various calculation types
use_statics: Use statics to define a material
"""
if task_group == 0:
if len(task_group) == 0:
raise Exception("Must have more than one task in the group.")

# Material ID
Expand Down

0 comments on commit 026bc42

Please sign in to comment.