Skip to content

Commit

Permalink
adapt CHANGELOG.md and format files
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
marcelmbn committed Jan 30, 2025
1 parent f6b45eb commit 690b35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- version string is now correctly formatted and printed
- precision (# significant digits) of the coordinate files (`get_coord_str` and `get_xyz_str`) increased from 7 to 14
- catch encoding errors when reading `Turbomole._run_opt` output files

## [0.5.0] - 2024-12-16
### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/mindlessgen/qm/tm.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _run_opt(self, temp_path: Path, arguments: list[str]) -> tuple[str, str, int
return tm_log_out, tm_log_err, 0
except sp.CalledProcessError as e:
if output_file.exists():
with open(output_file, 'r', encoding="utf-8", errors='replace') as file:
with open(output_file, encoding="utf-8", errors="replace") as file:
tm_log_out = file.read()
else:
tm_log_out = e.stdout.decode(
Expand Down

0 comments on commit 690b35a

Please sign in to comment.