From: Jim Procter
Date: Tue, 21 Jun 2016 15:13:05 +0000 (+0100)
Subject: Merge branch 'features/JAL-2110_crossRefDuplications' into merge_JAL-2110
X-Git-Tag: Release_2_10_0~140^2~5^2~49
X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0ac97c219bf88278f77306a5695e8bd9d9ca9179;hp=0159bc4ce82ec84c17f8df908ad2c97f8d6eceeb;p=jalview.git
Merge branch 'features/JAL-2110_crossRefDuplications' into merge_JAL-2110
---
diff --git a/examples/appletDeployment.html b/examples/appletDeployment.html
index a7653ed..87953df 100644
--- a/examples/appletDeployment.html
+++ b/examples/appletDeployment.html
@@ -21,7 +21,31 @@
Click here to view decorated page
-Notes on applet deployment
+Notes on applet deployment
+
+
- Package all your data files into a single (or multiple) zip / jar
files. This is very useful to reduce download time of large data files.
diff --git a/examples/appletParameters.html b/examples/appletParameters.html
index 433f5a9..cc95ecb 100644
--- a/examples/appletParameters.html
+++ b/examples/appletParameters.html
@@ -28,7 +28,7 @@ which are described below. Once initialised,
the applet can be interacted with via its
Javascript API.
Issues arising from tightening of Java Security default settings
JalviewLite is provided as a signed applet with 'sandbox' permissions and wildcards that allow it to be run from any website. Unfortunately, earlier versions of Java may not be compatible with these settings.
- For additional deployment notes, see below.
+ For additional deployment notes, see Applet Deployment.
Applet Parameters
The applet takes the following initialisation parameters.
diff --git a/examples/groovy/printtitle.groovy b/examples/groovy/printtitle.groovy
index 813df63..b3387ea 100644
--- a/examples/groovy/printtitle.groovy
+++ b/examples/groovy/printtitle.groovy
@@ -19,14 +19,17 @@
* The Jalview Authors are detailed in the 'AUTHORS' file.
*/
// do something groovy in jalview
-print "Hello World.\n";
-def alf = Jalview.getAlignFrames();
+println "Hello World.\n"
+println "First sequence is " + currentAlFrame.viewport.alignment.getSequenceAt(0).getDisplayId(true)
+
+def alf = Jalview.getAlignFrames()
for (ala in alf)
{
// ala is an jalview.gui.AlignFrame object
- print ala.getTitle()+"\n";
+ println ala.getTitle()
// get the parent jalview.datamodel.Alignment from the alignment viewport
- def alignment = ala.viewport.alignment;
+ def alignment = ala.viewport.alignment
// get the first sequence from the jalview.datamodel.Alignment object
- def seq = alignment.getSequenceAt(0);
+ def seq = alignment.getSequenceAt(0)
}
+Jalview.quit()
diff --git a/examples/testdata/simpleGff3.gff b/examples/testdata/simpleGff3.gff
index 34b64ee..614b440 100644
--- a/examples/testdata/simpleGff3.gff
+++ b/examples/testdata/simpleGff3.gff
@@ -24,4 +24,3 @@ seq1 exonerate:protein2genome:local similarity 9 11 3652 - . alignment_id 0 ; Qu
ACTACGACACGACGACGACGACG
>seq2
CDEQEATGTQDAQEQAQC
-
diff --git a/examples/testdata/test.html b/examples/testdata/test.html
index 229596c..1e41232 100644
--- a/examples/testdata/test.html
+++ b/examples/testdata/test.html
@@ -26,4 +26,4 @@ subCatContainer.scroll(
function() {
subCatContainer.scrollTop($(this).scrollTop());
});
-
\ No newline at end of file
+