From e321c94c417fbc264c077424cd1ff3be8f0784c9 Mon Sep 17 00:00:00 2001 From: sebastiankloth Date: Fri, 4 Nov 2022 11:17:53 +0100 Subject: [PATCH] Changed error print into logger.warning --- mdevaluate/correlation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdevaluate/correlation.py b/mdevaluate/correlation.py index ce50b3e..1cc3a8f 100644 --- a/mdevaluate/correlation.py +++ b/mdevaluate/correlation.py @@ -162,7 +162,7 @@ def shifted_correlation(function, frames, selector=None, segments=10, selector=selector), start_frames)) except Exception: - print("Something went wrong!") + logger.warning("Something went wrong while calculating the shifted correlation!") finally: pool.terminate() pool.restart()