Skip to content

Commit 5e3e401

Browse files
committed
Fix docstring
1 parent 2073068 commit 5e3e401

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

python/tskit/trees.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10556,9 +10556,11 @@ def map_to_vcf_model(
1055610556
and the specified ploidy.
1055710557
1055810558
If neither `name_metadata_key` nor `individual_names` is not specified, the
10559-
individual names are set to "tsk_{individual_id}" for each individual.
10559+
individual names are set to "tsk_{individual_id}" for each individual. If
10560+
no individuals are present, the individual names are set to "tsk_{i}" with
10561+
`0 <= i < num_sample_nodes/ploidy`.
1056010562
10561-
Warnings are emmitted if any sample nodes do not have an individual ID.
10563+
A Warning are emmitted if any sample nodes do not have an individual ID.
1056210564
1056310565
:param list individuals: Specific individual IDs to include in the VCF. If not
1056410566
specified and the tree sequence contains individuals, all individuals are

0 commit comments

Comments
 (0)