Skip to content

Commit c5c639f

Browse files
authored
Merge pull request #799 from benjeffery/remove-impute-language
Shift language on error and docs to replace 'impute'
2 parents d35c17c + 2d182a7 commit c5c639f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

c/tskit/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ tsk_strerror_internal(int err)
411411
ret = "Must have at least one allele when specifying an allele map";
412412
break;
413413
case TSK_ERR_MUST_IMPUTE_NON_SAMPLES:
414-
ret = "Cannot generate genotypes for non-samples unless missing data "
415-
"imputation is enabled";
414+
ret = "Cannot generate genotypes for non-samples when isolated nodes are "
415+
"considered as missing";
416416
break;
417417
case TSK_ERR_ALLELE_NOT_FOUND:
418418
ret = "An allele was not found in the user-specified allele map";

docs/stats.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ statistics API in use.
2323

2424
.. warning:: :ref:`sec_data_model_missing_data` is not currently
2525
handled correctly by site statistics defined here, as we always
26-
impute missing data to be equal to the ancestral state. Later
26+
assign missing data to be equal to the ancestral state. Later
2727
versions will add this behaviour as an option and will account
2828
for the presence of missing data by default.
2929

0 commit comments

Comments
 (0)