From 1bb5184297b3c8ed376845412511c7c8d7ebe1d7 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 20 Oct 2017 15:25:49 +0100 Subject: [PATCH] JAL-547 only generate matrix for current selection if available. better comments. --- examples/groovy/PIDmatrix.groovy | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/groovy/PIDmatrix.groovy b/examples/groovy/PIDmatrix.groovy index 4e2ad8d..3ff4b39 100644 --- a/examples/groovy/PIDmatrix.groovy +++ b/examples/groovy/PIDmatrix.groovy @@ -22,11 +22,12 @@ import jalview.analysis.scoremodels.ScoreModels import jalview.analysis.scoremodels.SimilarityParams -// call the method below -printSimilarityMatrix(false,true,SimilarityParams.Jalview) +// generate matrix for current selection using standard Jalview PID + +printSimilarityMatrix(true,true,SimilarityParams.Jalview) /** - * prints a sequence similarity matrix in PHYLIP format. + * this function prints a sequence similarity matrix in PHYLIP format. * printSimilarityMatrix(selected-only, include-ids, pidMethod) * * Allowed values for pidMethod: -- 1.7.10.2