Skip to content

Commit

Permalink
Update processNextstrain.js (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored May 3, 2024
1 parent 91cebe0 commit 5b95f39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions taxonium_component/src/utils/processNextstrain.js
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,9 @@ async function json_to_tree(json) {
}

config.overlay = `<p>This is a tree extracted from a <a href='//nextstrain.org'>Nextstrain</a> JSON file, being visualised in Taxonium.</p>.`;
if(json.meta.description){
config.overlay = config.overlay+"<p>"+json.meta.description+"</p>";
}

if (json.meta && json.meta.updated) {
config.source = config.source + " in a tree built on " + json.meta.updated;
Expand Down

0 comments on commit 5b95f39

Please sign in to comment.