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 },
char getGapCharacter();
/**
- * Test for all nucleotide alignment
- *
- * @return true if alignment is nucleotide sequence
- */
- boolean isNucleotide();
-
- /**
* Test if alignment contains RNA structure
*
* @return true if RNA structure AligmnentAnnotation was added to alignment