def METHOD_NAME(self):
    vec = vigra.taggedView(np.zeros((500,), dtype=np.float32), axistags=vigra.defaultAxistags("x"))
    graph = Graph()
    op = OpObjectsSegment(graph=graph)
    piper = OpArrayPiper(graph=graph)
    piper.Input.setValue(vec)
    with self.assertRaises(AssertionError):
        op.Prediction.connect(piper.Output)
        op.LabelImage.connect(piper.Output)