there is no unit test for the function compute_majority which contains an unreachable None case. In reality, this is not affecting us right now as we are requiring 3 and only 3 labels per ROI.
[x] fix the logic so that None is reached in the case of a tie.
there is no unit test for the function
compute_majority
which contains an unreachableNone
case. In reality, this is not affecting us right now as we are requiring 3 and only 3 labels per ROI.None
is reached in the case of a tie.