tskit 1.0.0b1__cp312-cp312-win_amd64.whl → 1.0.0b3__cp312-cp312-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.cp312-win_amd64.pyd +0 -0
- tskit/_version.py +1 -1
- tskit/combinatorics.py +6 -0
- tskit/exceptions.py +8 -0
- tskit/jit/__init__.py +0 -0
- tskit/jit/numba.py +674 -0
- tskit/metadata.py +104 -0
- tskit/tables.py +1007 -482
- tskit/trees.py +27 -16
- {tskit-1.0.0b1.dist-info → tskit-1.0.0b3.dist-info}/METADATA +1 -1
- tskit-1.0.0b3.dist-info/RECORD +27 -0
- tskit-1.0.0b1.dist-info/RECORD +0 -25
- {tskit-1.0.0b1.dist-info → tskit-1.0.0b3.dist-info}/WHEEL +0 -0
- {tskit-1.0.0b1.dist-info → tskit-1.0.0b3.dist-info}/entry_points.txt +0 -0
- {tskit-1.0.0b1.dist-info → tskit-1.0.0b3.dist-info}/licenses/LICENSE +0 -0
- {tskit-1.0.0b1.dist-info → tskit-1.0.0b3.dist-info}/top_level.txt +0 -0
_tskit.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
tskit/_version.py
CHANGED
tskit/combinatorics.py
CHANGED
|
@@ -541,6 +541,12 @@ class TopologyCounter:
|
|
|
541
541
|
k = TopologyCounter._to_key(sample_set_indexes)
|
|
542
542
|
self.topologies[k] = counter
|
|
543
543
|
|
|
544
|
+
def __iter__(self):
|
|
545
|
+
raise TypeError(
|
|
546
|
+
"TopologyCounter object is not iterable, "
|
|
547
|
+
"iterate over '.topologies' instead"
|
|
548
|
+
)
|
|
549
|
+
|
|
544
550
|
@staticmethod
|
|
545
551
|
def _to_key(sample_set_indexes):
|
|
546
552
|
if not isinstance(sample_set_indexes, collections.abc.Iterable):
|
tskit/exceptions.py
CHANGED
|
@@ -60,3 +60,11 @@ class MetadataEncodingError(TskitException):
|
|
|
60
60
|
"""
|
|
61
61
|
A metadata object was of a type that could not be encoded
|
|
62
62
|
"""
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class ImmutableTableError(ValueError):
|
|
66
|
+
"""
|
|
67
|
+
Raised when attempting to modify an immutable table view.
|
|
68
|
+
|
|
69
|
+
Use TreeSequence.dump_tables() to get a mutable copy.
|
|
70
|
+
"""
|
tskit/jit/__init__.py
ADDED
|
File without changes
|