From 45c8d753d85343a95d5019e4d7fd6fa12211fce2 Mon Sep 17 00:00:00 2001 From: Ash O'Farrell Date: Wed, 6 Mar 2024 14:04:43 -0800 Subject: [PATCH] Enable auspice radial view Addresses https://github.com/nextstrain/auspice/issues/1756 from the matUtils side by providing a bogus divergence value. Resulting file was tested on auspice.us and it now correctly goes into radial view. Unrooted view also loads. --- src/matUtils/convert.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matUtils/convert.cpp b/src/matUtils/convert.cpp index 3143ec19..0f7fa4a1 100644 --- a/src/matUtils/convert.cpp +++ b/src/matUtils/convert.cpp @@ -520,6 +520,7 @@ void write_json_from_mat(MAT::Tree* T, std::string output_filename, std::vector< { "tree",{ {"name","wrapper"}, + {"node_attrs",{ {"div",0} }} } } };