Skip to content

Commit

Permalink
Update im2deep utf8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurDeclercq authored Sep 27, 2024
1 parent 50002a9 commit bef90dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ms2rescore/feature_generators/im2deep.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def add_features(self, psm_list: PSMList) -> None:

# Disable wild logging to stdout by TensorFlow, unless in debug mode
with (
contextlib.redirect_stdout(open(os.devnull, "w"))
contextlib.redirect_stdout(open(os.devnull, "w", encoding="utf-8"))
if not self._verbose
else contextlib.nullcontext()
):
Expand Down

0 comments on commit bef90dd

Please sign in to comment.