Skip to content

Commit

Permalink
Forgot to delete debugging line
Browse files Browse the repository at this point in the history
  • Loading branch information
niemasd committed May 3, 2024
1 parent bdb3990 commit 891e487
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VERSION": "1.0.2",
"VERSION": "1.0.3",
"CONFIG_KEYS": ["Contact Network", "Transmission Network", "Sample Times", "Viral Phylogeny (Transmissions)", "Viral Phylogeny (Seeds)", "Mutation Rates", "Ancestral Sequence", "Sequence Evolution"],
"DESC": {
"Contact Network": "The <b style='color:red;'>Contact Network</b> graph model describes all social interactions:<ul><li>Nodes represent individuals in the population</li><li>Edges represent all interactions across which the pathogen can transmit</li><li>Currently, FAVITES-Lite only supports static (i.e., unchanging) contact networks</li></ul>",
Expand Down
1 change: 0 additions & 1 deletion plugins/mutation_rates/common_treeswift.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ def treeswift_truncnorm(params, out_fn, config, GLOBAL, verbose=True):
tree = read_tree_newick(out_fn['viral_phylogeny_time'])
nodes = [node for node in tree.traverse_preorder() if node.edge_length is not None]
rates = truncnorm_rvs(loc=mu, scale=sigma, a_min=a_min, b_max=b_max, size=len(nodes))
print('\n'.join(str(r) for r in rates)); exit() # TODO
for i in range(len(nodes)):
nodes[i].edge_length *= rates[i]
tree.write_tree_newick(out_fn['viral_phylogeny_mut'])
Expand Down

0 comments on commit 891e487

Please sign in to comment.