From dfb73a6d0d4f0be6ccf21d2a05b1bf3b8314eb09 Mon Sep 17 00:00:00 2001 From: GregoireLamb Date: Mon, 3 Jun 2024 15:47:34 +0200 Subject: [PATCH] rm useless strip --- mung/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mung/node.py b/mung/node.py index 3b2f90f..ec67ecf 100644 --- a/mung/node.py +++ b/mung/node.py @@ -813,7 +813,7 @@ def decode_mask_rle(mask_string: str, shape) -> Optional[numpy.ndarray]: mask_flat = numpy.zeros(shape[0]*shape[1], numpy.uint8) index = 0 - mask_string = mask_string.strip().rstrip() + mask_string = mask_string.rstrip() for kv in mask_string.split(' '): k_string, v_string = kv.split(':')