Permalink
Browse files

Update to use "flu_seasonal" filestem

  • Loading branch information...
trvrb committed May 13, 2018
1 parent 25d88c1 commit 7bab5721939f22db5ad0a87011798f89a909d94e
Showing with 5 additions and 5 deletions.
  1. +1 −1 auspice/index.html
  2. +4 −4 auspice/provision_directories.py
@@ -1,5 +1,5 @@
---
title: nextflu
layout: redirect
rurl: /h3n2/ha/3y/
rurl: https://nextstrain.org/flu/
---
@@ -12,7 +12,7 @@ def printdir():
indexfile.write("---\n")
indexfile.write("title: nextflu\n")
indexfile.write("layout: redirect\n")
indexfile.write("rurl: /h3n2/ha/3y/\n")
indexfile.write("rurl: https://nextstrain.org/flu/\n")
indexfile.write("---\n")
indexfile.close()
@@ -90,7 +90,7 @@ def printdir():
indexfile.write("---\n")
indexfile.write("title: nextflu / %s / %s / %s \n" % (virus, segment, resolution))
indexfile.write("layout: redirect\n")
indexfile.write("rurl: https://nextstrain.org/flu/%s/%s/%s/\n" % (vpath, spath, rpath))
indexfile.write("rurl: https://nextstrain.org/flu/seasonal/%s/%s/%s/\n" % (vpath, spath, rpath))
indexfile.write("---\n")
indexfile.close()
@@ -191,7 +191,7 @@ def printdir():
indexfile.write("---\n")
indexfile.write("\n")
indexfile.write("<script>\n")
indexfile.write("var file_prefix = \"flu_%s_%s_%s_\";\n" % (virus.lower(), segment.lower(), resolution.lower()))
indexfile.write("var file_prefix = \"flu_seasonal_%s_%s_%s_\";\n" % (virus.lower(), segment.lower(), resolution.lower()))
indexfile.write("var useTiters = false;\n")
indexfile.write("{%% include %s_meta.js %%}\n" % virus)
indexfile.write("{%% include %s_meta.js %%}\n" % resolution)
@@ -268,7 +268,7 @@ def printdir():
indexfile.write("---\n")
indexfile.write("title: nextflu / %s / %s / %s \n" % (virus, segment, resolution))
indexfile.write("layout: redirect\n")
indexfile.write("rurl: https://nextstrain.org/flu/%s/%s/%s/\n" % (vpath, spath, rpath))
indexfile.write("rurl: https://nextstrain.org/seasonal/flu/%s/%s/%s/\n" % (vpath, spath, rpath))
indexfile.write("---\n")
indexfile.close()

0 comments on commit 7bab572

Please sign in to comment.