From: Jim Procter Date: Mon, 18 Jul 2016 15:29:15 +0000 (+0100) Subject: JAL-2068 clarify comments X-Git-Tag: Release_2_10_0~138^2~3 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=989dfdcbd007d4530dae7f0d8a64df55c7136703;p=jalview.git JAL-2068 clarify comments --- diff --git a/examples/groovy/featureCounter.groovy b/examples/groovy/featureCounter.groovy index 42d3187..3b5bca6 100644 --- a/examples/groovy/featureCounter.groovy +++ b/examples/groovy/featureCounter.groovy @@ -45,7 +45,8 @@ def hasPfam = { features -> } /* - * Closure that counts residues with a Pfam feature annotation + * Closure that computes an annotation based on + * presence of particular residues and features * Parameters are * - the name (label) for the alignment annotation * - the description (tooltip) for the annotation @@ -74,12 +75,12 @@ def getColumnCounter = { name, desc, acceptResidue, acceptFeatures -> } /* - * Define an annotation that counts any residue with Pfam domain annotation + * Define an annotation row that counts any residue with Pfam domain annotation */ def pfamAnnotation = getColumnCounter("Pfam", "Count of residues with Pfam domain annotation", {true}, hasPfam) /* - * Define an annotation that counts charged residues with Pfam domain annotation + * Define an annotation row that counts charged residues with Pfam domain annotation */ def chargedPfamAnnotation = getColumnCounter("Pfam charged", "Count of charged residues with Pfam domain annotation", isCharged, hasPfam)