Skip to content

Commit

Permalink
Update processNextstrain.js
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed May 3, 2024
1 parent 5b95f39 commit bdb13be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions taxonium_component/src/utils/processNextstrain.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,10 @@ async function json_to_tree(json) {
json.meta.data_provenance.map((source) => source.name).join(" & ");
}

if (config.source.includes("GISAID")){
config.enabled_by_gisaid = true
}

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>";
Expand Down

0 comments on commit bdb13be

Please sign in to comment.