Originally, sampleDataBlockProfile checked whether pointid was given as an argument was tested via the variables "truthiness". Thus, it would fail if it was 0.
Changed to using isinstance(pointid, int) instead to be more strict and not fail unexpectedly.
Originally,
sampleDataBlockProfile
checked whetherpointid
was given as an argument was tested via the variables "truthiness". Thus, it would fail if it was 0.Changed to using
isinstance(pointid, int)
instead to be more strict and not fail unexpectedly.