JAL-2228 updated script in help docs, renamed docs, and added note about non-backward...
[jalview.git] / examples / groovy / colourSchemes.groovy
index a5b60c8..d5ca973 100644 (file)
@@ -82,7 +82,8 @@ def byWeight
 byWeight = { ->
   [
     getSchemeName: { 'By Weight' },
-    isApplicableTo: { coll -> true },
+    // this colour scheme is peptide-specific:
+    isApplicableTo: { coll -> !coll.isNucleotide() },
     alignmentChanged: { coll, map -> },
     getInstance: { coll, map -> byWeight() },
     isSimple: { true },