Skip to content

Commit

Permalink
Remove empty line at the end of output colvars.traj
Browse files Browse the repository at this point in the history
Without the fix, the file produced by the script cannot be read by plot_colvars_traj.py
  • Loading branch information
giacomofiorin committed Jan 28, 2025
1 parent 5f70cd0 commit 2d9b81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colvartools/colvar_traj.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ proc colvar_save_traj_file { {fileName vmd.colvars.traj} } {

puts "Writing colvars trajectory to file $fileName"
set o [open $fileName w]
puts $o [colvar_traj]
puts -nonewline $o [colvar_traj]
close $o
}

Expand Down

0 comments on commit 2d9b81a

Please sign in to comment.