Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more progress on the inside side of Render; passes all regression tes…
…ts; work on Render::HTML needs to start
- Loading branch information
Showing
12 changed files
with
595 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package Bio::Graphics::Browser::Plugin::TestFinder; | ||
|
||
use strict; | ||
use warnings; | ||
use base 'Bio::Graphics::Browser::Plugin'; | ||
|
||
sub name { 'TypeFinder'} | ||
|
||
# return all objects of type 'motif' | ||
sub find { | ||
my $self = shift; | ||
my $db = $self->database; | ||
my $query = $self->page_settings->{name} or return; | ||
my @features = $db->features(-type=>$query); | ||
return \@features; | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.