Skip to content
Snippets Groups Projects
Commit 69ef24c7 authored by Web Admin's avatar Web Admin
Browse files

throws correct id if no chromosome found

parent 923f9745
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ sub fetch_by_dbID{
$sth->execute;
my $a = $sth->fetchrow_arrayref();
if( !defined $a ) {
$self->throw("No chromosome of $a");
$self->throw("No chromosome of $id");
}
......@@ -215,7 +215,6 @@ sub get_landmark_MarkerFeatures{
my $prev;
while( $sth->fetch ) {
if( defined $prev && $prev->end + $glob > $start && $prev->id eq $name ) {
next;
}
......
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