Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ab5424 committed Apr 8, 2024
1 parent 402438e commit 8f11ee3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agility/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ def perform_ptm(
Returns:
None
"""
if isinstance(enabled, str):
enabled = [enabled]
for i in enabled:
if i not in ["fcc", "hcp", "bcc", "ico", "sc", "dcub", "dhex", "graphene"]:
msg = f"Enabled structure type {i} unknown"
Expand Down

0 comments on commit 8f11ee3

Please sign in to comment.