git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'releases/Release_2_11_3_Branch'
[jalview.git]
/
examples
/
groovy
/
annotationForSelectedSequence.groovy
diff --git
a/examples/groovy/annotationForSelectedSequence.groovy
b/examples/groovy/annotationForSelectedSequence.groovy
index
fc554ab
..
7cb3082
100644
(file)
--- a/
examples/groovy/annotationForSelectedSequence.groovy
+++ b/
examples/groovy/annotationForSelectedSequence.groovy
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-31,7
+31,7
@@
import java.awt.datatransfer.StringSelection
import static java.awt.Toolkit.*
import static java.awt.Toolkit.*
-def curviewport = Jalview.getAlignFrames()[Jalview.getAlignFrames().length-1].getViewport();
+def curviewport = Jalview.getCurrentAlignFrame().getViewport();
// TSV output by default.
// change "\t" to "," to output CSV file
// TSV output by default.
// change "\t" to "," to output CSV file