From d884105fcd0ac029684c62573e706e5d88b4301c Mon Sep 17 00:00:00 2001 From: Charles Ofoegbu Date: Fri, 7 Nov 2014 09:31:09 +0000 Subject: [PATCH] Modified BioJsHTMLOutput.java to use class loader while loading BioJsTemplate file --- examples/example_biojs.html | 9115 +++++++++++++++++++++++++++++++++ resources/templates/BioJSTemplate.txt | 4 +- src/jalview/io/BioJsHTMLOutput.java | 179 +- 3 files changed, 9229 insertions(+), 69 deletions(-) create mode 100644 examples/example_biojs.html diff --git a/examples/example_biojs.html b/examples/example_biojs.html new file mode 100644 index 0000000..1d602d6 --- /dev/null +++ b/examples/example_biojs.html @@ -0,0 +1,9115 @@ + + + + +
BioJS viewer
+ + + + + + + + + +
press "Run with JS"
+ +
+
+
This html page was generated from Jalview, to import the data back to Jalview, please drag the generated html file and drop it unto the Jalview workbench.
+
+
Alternatively, you could copy the url from the address bar and use Jalview's url importer (main menu-> File-> Input Alignment-> from URL) to import back the alignment jalview. +
+
+ + + + + + + + + diff --git a/resources/templates/BioJSTemplate.txt b/resources/templates/BioJSTemplate.txt index b20688a..972aa0b 100644 --- a/resources/templates/BioJSTemplate.txt +++ b/resources/templates/BioJSTemplate.txt @@ -132,7 +132,7 @@

- + @@ -141,7 +141,7 @@