Skip to content
Snippets Groups Projects
Commit f409b8e9 authored by Will Spooner's avatar Will Spooner
Browse files

Added a shout when no DensityTypes for logic name

parent eb4cc188
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,12 @@ sub fetch_all_by_Slice {
#
my $dta = $self->db()->get_DensityTypeAdaptor();
my @dtypes = @{$dta->fetch_all_by_logic_name($logic_name)};
if( ! @dtypes ){
$self->warn( "No DensityTypes for logic name $logic_name" );
return [];
}
my $best_ratio = undef;
my $density_type = undef;
......
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