tskit 1.0.0b2__cp313-cp313-win_amd64.whl → 1.0.1__cp313-cp313-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
tskit/util.py CHANGED
@@ -31,7 +31,6 @@ import json
31
31
  import numbers
32
32
  import os
33
33
  import textwrap
34
- from typing import Union
35
34
 
36
35
  import numpy as np
37
36
 
@@ -86,9 +85,9 @@ def is_unknown_time(time):
86
85
  non-NAN value.
87
86
 
88
87
  :param time: Value or array to check.
89
- :type time: Union[float, array-like]
88
+ :type time: float | array-like
90
89
  :return: A single boolean or array of booleans the same shape as ``time``.
91
- :rtype: Union[bool, numpy.ndarray[bool]]
90
+ :rtype: bool | numpy.ndarray[bool]
92
91
  """
93
92
  return np.asarray(time, dtype=np.float64).view(np.uint64) == np.float64(
94
93
  UNKNOWN_TIME
@@ -771,13 +770,13 @@ def variant_html(variant):
771
770
  + f"""
772
771
  <tr><td>Site Id</td><td>{format_number(site_id)}</td></tr>
773
772
  <tr><td>Site Position</td><td>{format_number(site_position)}</td></tr>
774
- <tr><td>Number of Samples</td><td>{format_number(num_samples)}</td></tr>
773
+ <tr><td>Number of Nodes</td><td>{format_number(num_samples)}</td></tr>
775
774
  <tr><td>Number of Alleles</td><td>{format_number(num_alleles)}</td></tr>
776
775
  """
777
776
  + "\n".join(
778
777
  [
779
- f"""<tr><td>Samples with Allele {'missing' if k is None
780
- else "'" + k + "'"}</td><td>"""
778
+ f"""<tr><td>Nodes with Allele {'missing' if k is None
779
+ else "'" + k + "'"}</td><td>"""
781
780
  + f"{format_number(counts[k])}"
782
781
  + " "
783
782
  + f"({format_number(freqs[k] * 100, 2)}%)"
@@ -855,7 +854,7 @@ def truncate_rows(num_rows, limit=None):
855
854
  )
856
855
 
857
856
 
858
- def random_nucleotides(length: numbers.Number, *, seed: Union[int, None] = None) -> str:
857
+ def random_nucleotides(length: numbers.Number, *, seed: int | None = None) -> str:
859
858
  """
860
859
  Returns a random string of nucleotides of the specified length. Characters
861
860
  are drawn uniformly from the alphabet "ACTG".
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tskit
3
- Version: 1.0.0b2
3
+ Version: 1.0.1
4
4
  Summary: The tree sequence toolkit.
5
5
  Author-email: Tskit Developers <admin@tskit.dev>
6
- License: MIT
6
+ License-Expression: MIT
7
7
  Project-URL: Homepage, https://tskit.dev/tskit
8
8
  Project-URL: Documentation, https://tskit.dev/tskit/docs/stable
9
9
  Project-URL: Changelog, https://tskit.dev/tskit/docs/stable/changelogs.html
@@ -17,11 +17,11 @@ Classifier: Programming Language :: Python :: 3.10
17
17
  Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
20
21
  Classifier: Programming Language :: Python :: 3 :: Only
21
22
  Classifier: Development Status :: 5 - Production/Stable
22
23
  Classifier: Environment :: Other Environment
23
24
  Classifier: Intended Audience :: Science/Research
24
- Classifier: License :: OSI Approved :: MIT License
25
25
  Classifier: Operating System :: POSIX
26
26
  Classifier: Operating System :: MacOS :: MacOS X
27
27
  Classifier: Operating System :: Microsoft :: Windows
@@ -39,9 +39,9 @@ Requires-Dist: dendropy==5.0.1; extra == "test"
39
39
  Requires-Dist: kastore==0.3.3; extra == "test"
40
40
  Requires-Dist: lshmm==0.0.8; extra == "test"
41
41
  Requires-Dist: msgpack==1.1.0; extra == "test"
42
- Requires-Dist: msprime==1.3.4; extra == "test"
42
+ Requires-Dist: msprime==1.4.0b2; extra == "test"
43
43
  Requires-Dist: networkx==3.2.1; extra == "test"
44
- Requires-Dist: numba==0.61.2; extra == "test"
44
+ Requires-Dist: numba==0.63.1; extra == "test"
45
45
  Requires-Dist: portion==2.6.0; extra == "test"
46
46
  Requires-Dist: pytest==8.3.5; extra == "test"
47
47
  Requires-Dist: pytest-cov==6.0.0; extra == "test"
@@ -57,8 +57,8 @@ Requires-Dist: breathe==4.35.0; extra == "docs"
57
57
  Requires-Dist: sphinx-autodoc-typehints==2.3.0; extra == "docs"
58
58
  Requires-Dist: sphinx-issues==5.0.0; extra == "docs"
59
59
  Requires-Dist: sphinx-argparse==0.5.2; extra == "docs"
60
- Requires-Dist: msprime==1.3.3; extra == "docs"
61
- Requires-Dist: numba==0.61.2; extra == "docs"
60
+ Requires-Dist: msprime==1.4.0b2; extra == "docs"
61
+ Requires-Dist: numba==0.63.1; extra == "docs"
62
62
  Requires-Dist: sphinx-book-theme; extra == "docs"
63
63
  Requires-Dist: pandas==2.2.3; extra == "docs"
64
64
  Provides-Extra: dev
@@ -84,7 +84,7 @@ Requires-Dist: tszip; extra == "dev"
84
84
  Requires-Dist: xmlunittest; extra == "dev"
85
85
  Requires-Dist: newick; extra == "dev"
86
86
  Requires-Dist: zarr<3; extra == "dev"
87
- Requires-Dist: jupyter-book; extra == "dev"
87
+ Requires-Dist: jupyter-book<2; extra == "dev"
88
88
  Requires-Dist: breathe; extra == "dev"
89
89
  Requires-Dist: sphinx-autodoc-typehints; extra == "dev"
90
90
  Requires-Dist: sphinx-issues; extra == "dev"
@@ -0,0 +1,27 @@
1
+ _tskit.cp313-win_amd64.pyd,sha256=_rFzQ-21bJUg1eE4lBQ4vNZDpmcOwKoHOuzTtdmTOW8,578048
2
+ tskit/__init__.py,sha256=iw2dYlGVXcJUCDUpIuzj-x6h9SvF-j2wvbWkx5LUsSI,3312
3
+ tskit/__main__.py,sha256=Dnv25YfzrMDwYSW3pHqOdoa7EZI3oUEw81vU6x3qY_c,71
4
+ tskit/_version.py,sha256=uX-N5gTXhCS8F_YN-H2K2SKlta42U93gKUCKNc_D82c,146
5
+ tskit/cli.py,sha256=kcWbw-lujEAYT5GQXU2gzcZOW3RHhcegH1D7S1-RNFE,9029
6
+ tskit/combinatorics.py,sha256=tCMk1iJU5kBg-8dd_ZVy_WlTHA4VjYJsFYKUZ3MwHEE,57397
7
+ tskit/drawing.py,sha256=K5sTZidUpQVmE5NaO_GZ66mpZ0DvoljNuVeQJ1Kroco,114065
8
+ tskit/exceptions.py,sha256=1BelxLcli8oc0jnHu9BD0g1ESu8Aolw9bigfTA9GGms,2462
9
+ tskit/genotypes.py,sha256=WTUYJzTbjab_Rs4_sBzdCvPTpOV19hpd7vtpk33Mj4k,18269
10
+ tskit/intervals.py,sha256=0FLGFrxba6QzQLtd-a-xLonxM1fWwgtLpml_jOvz_Y4,24532
11
+ tskit/metadata.py,sha256=vApzwCVGJF-Cb4TdwX4zHBzNLDkctX3AS8qjAGzuhl8,43121
12
+ tskit/provenance.py,sha256=2xOYE44fTdvp857J1Y6YCDIjpZT4zDR0eM3yPIdeHII,5113
13
+ tskit/provenance.schema.json,sha256=flKdf8oNmUui_84lX4EKVHuxp2eUTzOCmoXWE8uAyEI,2189
14
+ tskit/stats.py,sha256=QAikzPcmiGzKjT4DIS09KoO5VyOgVu5I4fTGQdansE8,7243
15
+ tskit/tables.py,sha256=423H77OZ4iCqpKOBwrfrN82fbYyg6GSb3C1PI_xqA68,200675
16
+ tskit/text_formats.py,sha256=NBA9hyshoc8dMUrwAxCF0yLW4RcbZ6FhgRsNJDbadfQ,15428
17
+ tskit/trees.py,sha256=T3JO80vx6c-oIuyvgC76rVepGbqI-xVn848IL62nIL8,512821
18
+ tskit/util.py,sha256=a5I1AORM_3jPiMWxdD2fmEn7l_y-CxkIHY1vX1-wTUY,36398
19
+ tskit/vcf.py,sha256=U6IqXuw8mWO7K5DgjmKH9s7GjSJHrnCDK53sMoq9UNQ,8814
20
+ tskit/jit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ tskit/jit/numba.py,sha256=vyH3Hpa1_a3PJMGLli9Zw8_t8nPJx7pO46z5PFd7xP4,25453
22
+ tskit-1.0.1.dist-info/licenses/LICENSE,sha256=h92w-U3mbrRNLntc2_9qHbCB2MmJsvDSBia6BTUCwLE,1099
23
+ tskit-1.0.1.dist-info/METADATA,sha256=bqeeOmfzwj-MUl8ctb1CQDM0CtXQ6VFJATI4pLjRmf4,4660
24
+ tskit-1.0.1.dist-info/WHEEL,sha256=-WvvtQtdhM1F5HMi-4hSXLQ_1Tg6qJRWO1HnLNr4mCU,102
25
+ tskit-1.0.1.dist-info/entry_points.txt,sha256=3Zik1X8C9Io1WvmTRBao5yEG5Kwy_xhFdM-ABC9TkWQ,47
26
+ tskit-1.0.1.dist-info/top_level.txt,sha256=6GsXJYqSCR5Uhb4Js0BBzC0EFXE0FA5ywslsixSbwGM,13
27
+ tskit-1.0.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp313-cp313-win_amd64
5
5
 
@@ -1,27 +0,0 @@
1
- _tskit.cp313-win_amd64.pyd,sha256=iFUQmw0SHS9ZSf48xJzIb65Uc04NpRw42hdZ7jkjsig,570368
2
- tskit/__init__.py,sha256=iw2dYlGVXcJUCDUpIuzj-x6h9SvF-j2wvbWkx5LUsSI,3312
3
- tskit/__main__.py,sha256=Dnv25YfzrMDwYSW3pHqOdoa7EZI3oUEw81vU6x3qY_c,71
4
- tskit/_version.py,sha256=TAaXO78UDuZn2Q6kyb5R2HZANmJaZnESfTFS6_Psu70,148
5
- tskit/cli.py,sha256=kcWbw-lujEAYT5GQXU2gzcZOW3RHhcegH1D7S1-RNFE,9029
6
- tskit/combinatorics.py,sha256=q0Wf95djp5dYv5NqMzx6hAiKfmNtauiFFAqFim5v9LQ,57227
7
- tskit/drawing.py,sha256=SVG2r0IOne57oEKwLb7rPOhoXpz8v9r6lJmKj7rfeXs,114112
8
- tskit/exceptions.py,sha256=WcM1p9ko0dVwliO9ck1LjTsjv49qgmHMvaFxh32Q-w0,2276
9
- tskit/genotypes.py,sha256=Cj88gw7aulbcW9IxmUEDsKyUIFe977jqlHG5KhbJXVk,18042
10
- tskit/intervals.py,sha256=0FLGFrxba6QzQLtd-a-xLonxM1fWwgtLpml_jOvz_Y4,24532
11
- tskit/metadata.py,sha256=uX5XRj2GXf5sE5iMT4zyehoMtqvLt55Np1euv9jv0s8,39103
12
- tskit/provenance.py,sha256=2xOYE44fTdvp857J1Y6YCDIjpZT4zDR0eM3yPIdeHII,5113
13
- tskit/provenance.schema.json,sha256=flKdf8oNmUui_84lX4EKVHuxp2eUTzOCmoXWE8uAyEI,2189
14
- tskit/stats.py,sha256=QAikzPcmiGzKjT4DIS09KoO5VyOgVu5I4fTGQdansE8,7243
15
- tskit/tables.py,sha256=X-Vpg5_314l8r9kW6RKEPRwipmrRzldMBw_56jBDK80,182265
16
- tskit/text_formats.py,sha256=ZDGEhAhar9Z8Zjjg3SZwm5-AQxHVSTjZy4kifZqTNtQ,15262
17
- tskit/trees.py,sha256=VNYpyGQk3ahF2950x6eDmBN35utM_SQUbdH2EZZ3SWY,502418
18
- tskit/util.py,sha256=OYlDi5phgNiirgiG62_MMzyiMC1CSKI4IGrY4gbj4i4,36448
19
- tskit/vcf.py,sha256=U6IqXuw8mWO7K5DgjmKH9s7GjSJHrnCDK53sMoq9UNQ,8814
20
- tskit/jit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
- tskit/jit/numba.py,sha256=vyH3Hpa1_a3PJMGLli9Zw8_t8nPJx7pO46z5PFd7xP4,25453
22
- tskit-1.0.0b2.dist-info/licenses/LICENSE,sha256=h92w-U3mbrRNLntc2_9qHbCB2MmJsvDSBia6BTUCwLE,1099
23
- tskit-1.0.0b2.dist-info/METADATA,sha256=TAY19u828s_IqIjncv0hn5wqH0ev2vsIsdsaWT6PZQU,4645
24
- tskit-1.0.0b2.dist-info/WHEEL,sha256=qV0EIPljj1XC_vuSatRWjn02nZIz3N1t8jsZz7HBr2U,101
25
- tskit-1.0.0b2.dist-info/entry_points.txt,sha256=3Zik1X8C9Io1WvmTRBao5yEG5Kwy_xhFdM-ABC9TkWQ,47
26
- tskit-1.0.0b2.dist-info/top_level.txt,sha256=6GsXJYqSCR5Uhb4Js0BBzC0EFXE0FA5ywslsixSbwGM,13
27
- tskit-1.0.0b2.dist-info/RECORD,,