Skip to content

Commit 28f0b25

Browse files
awohnsmergify[bot]
authored andcommitted
Typo in inference sites error message
correct reference to `exclude_positions` (erroneously referred to as `exclude_sites`)
1 parent 2e4c3eb commit 28f0b25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsinfer/formats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ def add_site(
18001800
if inference is not None:
18011801
raise ValueError(
18021802
"Inference sites no longer be stored in the sample data file. "
1803-
"Please use the exclude_sites option to generate_ancestors."
1803+
"Please use the exclude_positions option to generate_ancestors."
18041804
)
18051805
if time is None:
18061806
time = tskit.UNKNOWN_TIME

0 commit comments

Comments
 (0)