git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb5184
)
JAL-547 fix NPE when no selection available
author
Jim Procter
<jprocter@issues.jalview.org>
Fri, 20 Oct 2017 14:28:08 +0000
(15:28 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Fri, 20 Oct 2017 14:28:08 +0000
(15:28 +0100)
examples/groovy/PIDmatrix.groovy
patch
|
blob
|
history
diff --git
a/examples/groovy/PIDmatrix.groovy
b/examples/groovy/PIDmatrix.groovy
index
3ff4b39
..
b97abcc
100644
(file)
--- a/
examples/groovy/PIDmatrix.groovy
+++ b/
examples/groovy/PIDmatrix.groovy
@@
-62,7
+62,7
@@
void printSimilarityMatrix(boolean selview=false, boolean includeids=true, Simil
jalview.datamodel.AlignmentView seqStrings = av.getAlignmentView(selview)
- if (!selview) {
+ if (!selview || av.getSelectionGroup()==null) {
start = 0
end = av.getAlignment().getWidth()
seqs = av.getAlignment().getSequencesArray()
@@
-96,4
+96,4
@@
void printSimilarityMatrix(boolean selview=false, boolean includeids=true, Simil
print "\n"
}
-}
+}
\ No newline at end of file