We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2575701 + 95317f6 commit 5301073Copy full SHA for 5301073
src/vasp/postprocessing/postprocessing_h5py/create_hi_pass_viz.py
@@ -566,7 +566,7 @@ def main():
566
567
# In case of strain, modify the path to the solid mesh as the strain might be
568
# computed for the solid domain only
569
- if quantity == "strain" or "stress":
+ if quantity in {"strain", "stress"}:
570
try:
571
file_path_d = visualization_separate_domain_folder / "d_solid.h5"
572
assert file_path_d.exists(), f"Displacement file {file_path_d} not found."
0 commit comments