Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/compomics/ms2rescore into s…
Browse files Browse the repository at this point in the history
…pectrum-feature-generator
  • Loading branch information
ArthurDeclercq committed Sep 27, 2024
2 parents 883169a + 4df5740 commit 97865e7
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 97865e7

Please sign in to comment.