This default DAT to CHOP has an invalid expression.
me.inputs[0].numRows - 1
That works for a select DAT, but in this context it makes no sense. DAT to CHOP has no inputs.
Something like this works:
me.par.dat.eval().numRows - 1
DAT_to_bug.1.toe (3.6 KB)