Menu

#384 Bio::Graphics::Panel Bug

v2.0
open
Gbrowse (196)
5
2012-02-28
2012-02-28
Carson Holt
No

I get the following error message:
Can't locate object method "colorAllocateAlpha" via package "Bio::Graphics::Panel" at line 1017

I can fix it by changing the following in Bio::Graphics::Panel.

line 1017: $index = $self->colorAllocateAlpha($gd,@rgb,$default_alpha);
change to -->
$index = $gd->colorAllocateAlpha(@rgb,$default_alpha);

This seemed like the correct thing to do as that is how the method is called everywhere else in the script. Maybe I'm missing something, but it works after the change.

Discussion

  • Scott Cain

    Scott Cain - 2012-02-28
    • assigned_to: scottcain --> lstein
     
  • Scott Cain

    Scott Cain - 2012-02-28

    I'll assign it to Lincoln so he can double check, but I imagine your fix is the correct one. Thanks!

     

Log in to post a comment.

MongoDB Logo MongoDB