Commit 43d4d37d authored by Web Admin's avatar Web Admin
Browse files

changed so bands can now be got back on non-chr coord systems

parent f87f34c0
......@@ -155,7 +155,7 @@ sub fetch_all_by_chr_name {
throw('Chromosome name argument expected') if(!$chr_name);
my $slice =
$self->db->get_SliceAdaptor->fetch_by_region('chromosome', $chr_name);
$self->db->get_SliceAdaptor->fetch_by_region(undef, $chr_name);
return $self->fetch_all_by_Slice($slice);
}
......@@ -184,7 +184,7 @@ sub fetch_all_by_chr_band {
throw('Chromosome name argument expected') if(!$chr_name);
throw('Band argument expected') if(!$band);
my $slice = $self->db->get_SliceAdaptor->fetch_by_region('chromosome',
my $slice = $self->db->get_SliceAdaptor->fetch_by_region(undef,
$chr_name);
my $constraint = "k.band like '$band%'";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment