We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8889807 commit 9fc519eCopy full SHA for 9fc519e
tsdate/util.py
@@ -325,12 +325,11 @@ def add_sampledata_times(samples, sites_time):
325
Ensures that each site's time is at least as old as the oldest historic sample
326
carrying a derived allele at that site.
327
328
- :param tsinfer.formats.SampleData samples: A tsinfer SampleData object to
+ :param samples: A tsinfer SampleData object to
329
add site times to. Any historic individuals in this SampleData file are used to
330
constrain site times.
331
332
- :return: A tsinfer.SampleData file
333
- :rtype: tsinfer.SampleData
+ :return: A copy of the input sample data with site times added
334
"""
335
if samples.num_sites != len(sites_time):
336
raise ValueError(
0 commit comments