Skip to content

Commit 5301073

Browse files
authored
Merge pull request #226 from keiyamamo/high_pass_stress
2 parents 2575701 + 95317f6 commit 5301073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vasp/postprocessing/postprocessing_h5py/create_hi_pass_viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def main():
566566

567567
# In case of strain, modify the path to the solid mesh as the strain might be
568568
# computed for the solid domain only
569-
if quantity == "strain" or "stress":
569+
if quantity in {"strain", "stress"}:
570570
try:
571571
file_path_d = visualization_separate_domain_folder / "d_solid.h5"
572572
assert file_path_d.exists(), f"Displacement file {file_path_d} not found."

0 commit comments

Comments
 (0)