Skip to content

Commit

Permalink
Remove duplicate structure names in Pyriodic
Browse files Browse the repository at this point in the history
  • Loading branch information
klarh committed Jun 25, 2020
1 parent c1d690a commit a3b9f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flowws_analysis/Pyriodic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pyriodic

VALID_STRUCTURES = []
for (name,) in pyriodic.db.query('select name from unit_cells order by name'):
for (name,) in pyriodic.db.query('select distinct name from unit_cells order by name'):
VALID_STRUCTURES.append(name)

@flowws.add_stage_arguments
Expand Down

0 comments on commit a3b9f08

Please sign in to comment.