From: gmungoc Date: Wed, 21 Dec 2016 14:51:43 +0000 (+0000) Subject: JAL-2361 Blosum is enabled for peptide X-Git-Tag: Release_2_10_3b1~357^2~39 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2470d1b4ccaab07f510516d72bee6067fbab3e33;p=jalview.git JAL-2361 Blosum is enabled for peptide --- diff --git a/src/jalview/schemes/Blosum62ColourScheme.java b/src/jalview/schemes/Blosum62ColourScheme.java index 5eabc75..d68791c 100755 --- a/src/jalview/schemes/Blosum62ColourScheme.java +++ b/src/jalview/schemes/Blosum62ColourScheme.java @@ -20,7 +20,6 @@ */ package jalview.schemes; -import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AnnotatedCollectionI; import jalview.datamodel.SequenceCollectionI; import jalview.datamodel.SequenceI; @@ -123,25 +122,4 @@ public class Blosum62ColourScheme extends ResidueColourScheme { return JalviewColourScheme.Blosum62.toString(); } - - /** - * Answers true if Conservation annotation is present, else false - */ - @Override - public boolean isApplicableTo(AnnotatedCollectionI ac) - { - AlignmentAnnotation[] anns = ac.getAlignmentAnnotation(); - if (anns == null) - { - return false; - } - for (AlignmentAnnotation ann : anns) - { - if ("Conservation".equals(ann.label)) - { - return true; - } - } - return false; - } }