diff --git a/python/tskit/vcf.py b/python/tskit/vcf.py index c050c1a26a..8500c90967 100644 --- a/python/tskit/vcf.py +++ b/python/tskit/vcf.py @@ -112,7 +112,7 @@ def __init__( "fully compliant with the VCF spec. If you still wish to write the VCF " 'please use the "allow_position_zero" argument to write_vcf. ' "Alternatively, you can increment all the positions by one using " - '"position_transform = lambda x: 1 + x" or coerce the zero to one with ' + '"position_transform = lambda x: 1 + np.array(x)" or coerce the zero to one with ' '"position_transform = lambda x: np.fmax(1, x)"' )