Skip to content

Commit

Permalink
update datasets fetched by get-data script
Browse files Browse the repository at this point in the history
This brings the datasets up-to-date with those that the narratives source.

Note that `ncov.json` is no longer used as a dataset, and nextstrain.org/ncov redirects to /ncov/global which uses the `ncov_global.json`. The smoke-test is updated accordingly.
  • Loading branch information
jameshadfield committed Apr 24, 2020
1 parent 260b6aa commit bac1748
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions scripts/get-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,16 @@ data_files=(
"tb_global_meta.json" "tb_global_tree.json" \
"enterovirus_d68_genome_meta.json" "enterovirus_d68_genome_tree.json" \
"enterovirus_d68_vp1_meta.json" "enterovirus_d68_vp1_tree.json" \
"ncov.json" \
# The ncov datasets. It's not worth downloading them all, just grab the latest
"ncov_global.json" "ncov_africa.json" "ncov_oceania.json" "ncov_asia.json" \
"ncov_europe.json" "ncov_north-america.json" "ncov_south-america.json" \
"ncov_non-subsampled.json" \
# Adding the ncov datasets which are required by the narratives so they can be viewed locally
"ncov_2020-01-23.json" "ncov_2020-01-25.json" "ncov_2020-01-30.json" \
"ncov_2020-03-05.json" "ncov_2020-03-13.json" \
# (Note that these all include the date of upload in the filename)
"ncov_2020-01-23.json" "ncov_2020-01-25.json" "ncov_2020-01-26.json" "ncov_2020-01-30.json" \
"ncov_2020-03-04.json" "ncov_2020-03-05.json" "ncov_2020-03-11.json" "ncov_2020-03-13.json" \
"ncov_2020-03-20.json" "ncov_2020-03-27.json" "ncov_2020-04-03.json" \
"ncov_global_2020-04-09.json" "ncov_north-america_2020-04-17.json" \
)

rm -rf data/
Expand Down
2 changes: 1 addition & 1 deletion test/smoke-test/urls.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# First token represents the path to access, remaining tokens are a
# comma separated list of text assertions (text we expect to find in the
# rendered page):
/ncov, novel coronavirus, Phylogeny, Diversity, Filter by Location
/ncov/global, novel coronavirus, Phylogeny, Diversity, Filter by Location

/zika, Zika virus evolution, rectangular
/zika?c=region&l=clock&legend=open&m=div&r=region, Zika virus evolution, rectangular
Expand Down

0 comments on commit bac1748

Please sign in to comment.