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
/
ComputePeptideVariants.groovy
diff --git
a/examples/groovy/ComputePeptideVariants.groovy
b/examples/groovy/ComputePeptideVariants.groovy
index
6caa69c
..
e5ece51
100644
(file)
--- a/
examples/groovy/ComputePeptideVariants.groovy
+++ b/
examples/groovy/ComputePeptideVariants.groovy
@@
-1,6
+1,6
@@
import jalview.datamodel.SequenceFeature
import jalview.gui.Desktop
import jalview.datamodel.SequenceFeature
import jalview.gui.Desktop
-def af = jalview.bin.Jalview.currentAlignFrame
+def af = Jalview.getCurrentAlignFrame()
def av = af.viewport
def fr = Desktop.getAlignFrameFor(av.codingComplement).getFeatureRenderer()
def counts = 0
def av = af.viewport
def fr = Desktop.getAlignFrameFor(av.codingComplement).getFeatureRenderer()
def counts = 0
@@
-29,4
+29,4
@@
for (seq in av.alignment.sequences)
}
af.getFeatureRenderer().featuresAdded()
af.alignPanel.paintAlignment(true, true)
}
af.getFeatureRenderer().featuresAdded()
af.alignPanel.paintAlignment(true, true)
-println "Added " + countm + " missense and " + counts + " synonymous variants"
\ No newline at end of file
+println "Added " + countm + " missense and " + counts + " synonymous variants"