-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I've been hitting an issue with the Mutations pane where all mutations get placed on the x-axis if I fiddle with the controls. It happens every time I switch to another pane then go back to Mutations, or whenever I input something to the X Range widget:
Once it happens, resetting the graphic or refreshing my browser doesn't fix it; I have to restart the app.
Here is the example I used here (but it happens with every TS I've tried):
import msprime
import tsinfer
ts_base = msprime.sim_ancestry(
50,
sequence_length=1e6,
random_seed=2,
recombination_rate=1e-8,
population_size=1e4,
model="smc_prime",
)
sim_ts = msprime.sim_mutations(ts_base, rate=1e-8, random_seed=2)
sample_data = tsinfer.SampleData.from_tree_sequence(ts)
test_ts = tsinfer.infer(sample_data, num_threads=8)
test_ts.dump('data/trees/smc_test.trees')Here are the files:
smc_test.zip
I'm using python 3.10.9 and the current GitHub version of tsbrowse.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
