Assert vlaue error before continuation in check_sparse_output, fixe formatings and orderings in labelpy