@dohmatob : could you please address this comment: I would prefer 'isinstance(cut_coords, numbers.Number)'.