Skip to content

Commit

Permalink
Fix writing xyz files
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Feb 25, 2025
1 parent 74f037c commit 6f0b9df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janus_core/helpers/struct_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def output_structs(
)

# write_results is only a valid kwarg for extxyz
if write_format in ("extxyz"):
if write_format == "extxyz":
write_kwargs.setdefault("write_results", not invalidate_calc)
else:
write_kwargs.pop("write_results", None)
Expand Down

0 comments on commit 6f0b9df

Please sign in to comment.