From 0cbcefdd6a409ee0d191712513dbccf5c4ed42f1 Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Tue, 15 Oct 2024 21:00:32 -0700 Subject: [PATCH] Remove noisy warning logs in Shade (thanks @changchuanjun, #710) --- jcvi/graphics/synteny.py | 1 - 1 file changed, 1 deletion(-) diff --git a/jcvi/graphics/synteny.py b/jcvi/graphics/synteny.py index 179d3560..94c78e53 100644 --- a/jcvi/graphics/synteny.py +++ b/jcvi/graphics/synteny.py @@ -172,7 +172,6 @@ def __init__( bx1, by1 = b1 bx2, by2 = b2 if ax1 is None or ax2 is None or bx1 is None or bx2 is None: - logger.warning("Shade: None found in coordinates, skipping") return M, C4, L, CP = Path.MOVETO, Path.CURVE4, Path.LINETO, Path.CLOSEPOLY if style == "curve":