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()