Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-2365

Colour spec of lightGray or darkGray is not respected

    XMLWordPrintable

    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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gmungoc Mungo Carstairs
              Reporter:
              gmungoc Mungo Carstairs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: