Skip to content

Commit

Permalink
Changelog for v0.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladme committed Jan 13, 2024
1 parent de1e591 commit 8634514
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "groan_rs"
description = "Gromacs Analysis Library for Rust"
version = "0.6.0"
version = "0.6.1"
license = "MIT"
edition = "2021"
repository = "https://github.com/Ladme/groan_rs"
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

## Changelog for the `groan_rs` library

### Version 0.6.1
- Bug fix: When setting `ProgressPrinter` to write into a file, the printer did not start a new line once iteration was finished and instead printed new line into standard output. This has been now fixed.
- `ProgressPrinter` can be now set to NOT start a new line upon finishing the iteration through the trajectory (see `ProgressPrinter::with_newline_at_end`).

### Version 0.6.0
#### Simulation box is now an optional property of the system
- **Breaking change:** The simulation box is now an optional property of the system.
Expand Down
2 changes: 1 addition & 1 deletion src/progress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ impl ProgressPrinter {
ProgressStatus::Running | ProgressStatus::Jumping => (),
ProgressStatus::Completed | ProgressStatus::Failed => {
if self.newline_at_end {
write!(self.output, "\n").expect("FATAL GROAN ERROR | ProgressPrinter::print (6) | Could not write to `ProgressPrinter` stream.");
writeln!(self.output).expect("FATAL GROAN ERROR | ProgressPrinter::print (6) | Could not write to `ProgressPrinter` stream.");
}
}
}
Expand Down

0 comments on commit 8634514

Please sign in to comment.