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