GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit 24ea6ed5 authored by Pierre Paleo's avatar Pierre Paleo

Fix logger.warning message

parent 21ec88d2
Pipeline #46183 passed with stage
in 5 minutes and 32 seconds
......@@ -114,7 +114,7 @@ class SinoCor(object):
self.cor_abs = (imax + window_width - 1.0) / 2
self.cor_rel = self.cor_abs - self.sx / 2.0 - 1
if imax < 1:
self.logger.warning("sliding width ", window_width, " seems too large!")
self.logger.warning(str("sliding width ", window_width, " seems too large!"))
self.rcor_abs = round(self.cor_abs)
return self.rcor_abs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment