Skip to content

Commit bef90dd

Browse files
Update im2deep utf8 error
1 parent 50002a9 commit bef90dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ms2rescore/feature_generators/im2deep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def add_features(self, psm_list: PSMList) -> None:
8888

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

0 commit comments

Comments
 (0)