-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
When using tsinfer I'm now getting the following error:
../../../miniforge3/envs/tsdate/lib/python3.12/site-packages/tsinfer/inference.py:1965: in get_samples_tree_sequence
new_flags = np.bitwise_and(tables.nodes.flags, ~tskit.NODE_IS_SAMPLE)
E OverflowError: Python integer -2 out of bounds for uint32
I think we might need to coerce tskit.NODE_IS_SAMPLE to the correct dtype, i.e.
new_flags = np.bitwise_and(tables.nodes.flags, ~tables.nodes.flags.dtype.type(tskit.NODE_IS_SAMPLE))
Metadata
Metadata
Assignees
Labels
No labels