Mercurial > repos > jankanis > blast2html
changeset 33:3bb5da68305e
add test update script, add url to github page
author | Jan Kanis <jan.code@jankanis.nl> |
---|---|
date | Thu, 15 May 2014 17:29:44 +0200 |
parents | ce8f29efc0a1 |
children | 5d7a82f49485 |
files | blast2html.html.jinja test-data/blast xml example1.html test-data/blast xml example2.html test-data/blast xml example3.html test-data/blast xml example4.html test-data/refresh_test_results.sh |
diffstat | 6 files changed, 18 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/blast2html.html.jinja Thu May 15 17:22:02 2014 +0200 +++ b/blast2html.html.jinja Thu May 15 17:29:44 2014 +0200 @@ -2,7 +2,7 @@ <html> <head> <meta charset="UTF-8"> - <meta name=generator content="blast2html; see ..."> + <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/"> <title>Blast output</title> @@ -620,7 +620,7 @@ </div> <footer> - This page was generated by <a href="...">blast2html</a>. + This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. </footer> </body> </html>
--- a/test-data/blast xml example1.html Thu May 15 17:22:02 2014 +0200 +++ b/test-data/blast xml example1.html Thu May 15 17:29:44 2014 +0200 @@ -2,7 +2,7 @@ <html> <head> <meta charset="UTF-8"> - <meta name=generator content="blast2html; see ..."> + <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/"> <title>Blast output</title> @@ -13213,7 +13213,7 @@ </div> <footer> - This page was generated by <a href="...">blast2html</a>. + This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. </footer> </body> </html>
--- a/test-data/blast xml example2.html Thu May 15 17:22:02 2014 +0200 +++ b/test-data/blast xml example2.html Thu May 15 17:29:44 2014 +0200 @@ -2,7 +2,7 @@ <html> <head> <meta charset="UTF-8"> - <meta name=generator content="blast2html; see ..."> + <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/"> <title>Blast output</title> @@ -417,7 +417,7 @@ </div> <footer> - This page was generated by <a href="...">blast2html</a>. + This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. </footer> </body> </html>
--- a/test-data/blast xml example3.html Thu May 15 17:22:02 2014 +0200 +++ b/test-data/blast xml example3.html Thu May 15 17:29:44 2014 +0200 @@ -2,7 +2,7 @@ <html> <head> <meta charset="UTF-8"> - <meta name=generator content="blast2html; see ..."> + <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/"> <title>Blast output</title> @@ -3523,7 +3523,7 @@ </div> <footer> - This page was generated by <a href="...">blast2html</a>. + This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. </footer> </body> </html>
--- a/test-data/blast xml example4.html Thu May 15 17:22:02 2014 +0200 +++ b/test-data/blast xml example4.html Thu May 15 17:29:44 2014 +0200 @@ -2,7 +2,7 @@ <html> <head> <meta charset="UTF-8"> - <meta name=generator content="blast2html; see ..."> + <meta name=generator content="blast2html; see https://github.com/thehyve/blast2html/"> <title>Blast output</title> @@ -1599,7 +1599,7 @@ </div> <footer> - This page was generated by <a href="...">blast2html</a>. + This page was generated by <a href="https://github.com/thehyve/blast2html/">blast2html</a>. </footer> </body> </html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/refresh_test_results.sh Thu May 15 17:29:44 2014 +0200 @@ -0,0 +1,8 @@ +#!/bin/sh + +# run this from the directory it exists in to update the test outputs + +for i in 1 2 3 4 +do + ../blast2html.py -i "blast xml example$i.xml" -o "blast xml example$i.html" +done