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

Cannot apply annotation shading across all groups in a view

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.2
    • Fix Version/s: 2.10.2b1
    • Component/s: renderer
    • Labels:
      None

      Description

      1. Import examples/RF00031_folded.stk
      2. Create a few sequence groups (I did this by enabling sequence features, calculating a NJ tree based on sequence features, and cutting it).
      3. Enable Colour->'Apply to all groups', and open Colour->By Annotations...

      In 2.10.2b1 (commit:dda7701):

      Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: jalview.renderer.ResidueShader cannot be cast to jalview.schemes.AnnotationColourGradient
      at jalview.gui.AnnotationColourChooser.colorAlignmentContaining(AnnotationColourChooser.java:472)
      at jalview.gui.AnnotationColourChooser.updateView(AnnotationColourChooser.java:415)
      at jalview.gui.AnnotationColourChooser.<init>(AnnotationColourChooser.java:156)
      at jalview.gui.AlignFrame.annotationColour_actionPerformed(AlignFrame.java:3295)
      at jalview.jbgui.GAlignFrame$120.actionPerformed(GAlignFrame.java:1936)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)

      In 2.10.2:

      Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: jalview.renderer.ResidueShader cannot be cast to jalview.schemes.AnnotationColourGradient
      at jalview.gui.AnnotationColourChooser.colorAlignmentContaining(AnnotationColourChooser.java:472)
      at jalview.gui.AnnotationColourChooser.updateView(AnnotationColourChooser.java:415)
      at jalview.gui.AnnotationRowFilter.seqAssociated_actionPerformed(AnnotationRowFilter.java:373)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              jprocter James Procter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: