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

eval sql connection to see if table does exist - it doesnt have to

parent 072d45dc
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,10 @@ sub fetch_all_by_Slice {
WHERE chr_name = ? AND chr_start >= ? and chr_start <= ? AND chr_end >= ?";
my $sth = $self->prepare( $QUERY );
eval {
$sth->execute($slice->chr_name(), $slice_start - 500 , $slice_end, $slice_start);
};
return [] if $@;
my @snps = ();
my %link_hash;
......
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