Skip to content
Snippets Groups Projects
Commit b3029586 authored by Andy Yates's avatar Andy Yates
Browse files

Only die if we didn't have a dir

parent 524d78ec
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,9 @@ sub target_dir {
: ($index eq 'dna_sm') ? 'blat_sm'
: q{}
;
$self->throw(sprintf('Cannot decode a directory from index type "%s"', $index));
if(! $base_dir) {
$self->throw(sprintf('Cannot decode a directory from index type "%s"', $index));
}
return $self->get_dir($base_dir, $self->param('index'));
}
......
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