Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.10.1
-
Fix Version/s: 2.10.2
-
Component/s: None
-
Labels:None
Description
Colour names are converted to AWT colours by ColourSchemeProperty.getAWTColorFromName().
This converts the name to lower-case, but then tests for "lightGray" or "darkGray" so they don't match.
For example if you change Pfam feature colour to lightGray in exampleFeatures.txt, and load this on to uniref50.fa, there is a stack trace and the message
Error parsing feature file: java.lang.IllegalArgumentException: Invalid colour descriptor: lightGray
Pfam lightGray
This converts the name to lower-case, but then tests for "lightGray" or "darkGray" so they don't match.
For example if you change Pfam feature colour to lightGray in exampleFeatures.txt, and load this on to uniref50.fa, there is a stack trace and the message
Error parsing feature file: java.lang.IllegalArgumentException: Invalid colour descriptor: lightGray
Pfam lightGray
Attachments
Issue Links
- related with
-
JAL-2642 Feature colour specification of 'lightGrey' causes exceptions in older versions of Jalview
- Closed