Skip to content

Commit 162f442

Browse files
alinelenaoerc0122
andauthored
Apply suggestions from code review
Co-authored-by: Jacob Wilkins <46597752+oerc0122@users.noreply.github.com>
1 parent 301e64c commit 162f442

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

janus_core/processing/tdep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def build_tdep_inputs_from_nvt(
9797

9898
with open(positions_path, "w", encoding="utf-8") as file:
9999
file.writelines(
100-
f"{position[0]:.12f} {position[1]:.12f} {position[2]:.12f}\n"
100+
" ".join(map(out_fmt, position) + "\n"
101101
for atoms in trajectory
102102
for position in atoms.get_scaled_positions()
103103
)

0 commit comments

Comments
 (0)