Skip to content

Commit

Permalink
SOF-7323: fix unit index for pw method filter
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Apr 27, 2024
1 parent a834231 commit c85f9a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/methods/pw_methods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name:
# note the order of units is reversed as compared to the list below,
# i.e. units[3] is the plane wave unit
# yamllint disable-line rule:line-length
template: '{{ units[3]["categories"]["type"] }} {{ units[2]["categories"]["subtype"] + " Pseudopotential" }} ({{ units[1]["name"] }}, {{ units[0]["categories"]["subtype"] | title }} {{"Tetrahedron Method" if units[0]["categories"]["type"] == "tetrahedron" else "Smearing"}})'
template: '{{ units[4]["categories"]["type"] }} {{ units[3]["categories"]["subtype"] + " Pseudopotential" }} ({{ units[1]["name"] }}, {{ units[0]["categories"]["subtype"] | title }} {{"Tetrahedron Method" if units[0]["categories"]["type"] == "tetrahedron" else "Smearing"}})'
substitutions:
pw: Plane-wave
nc: Norm-conserving
Expand Down
Loading

0 comments on commit c85f9a7

Please sign in to comment.