Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
61041490
Commit
61041490
authored
Apr 24, 2012
by
Andy Yates
Browse files
Better target server empty detection
parent
62f0a16f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/Bio/EnsEMBL/Pipeline/FASTA/SCPBlast.pm
modules/Bio/EnsEMBL/Pipeline/FASTA/SCPBlast.pm
+2
-1
No files found.
modules/Bio/EnsEMBL/Pipeline/FASTA/SCPBlast.pm
View file @
61041490
...
...
@@ -60,6 +60,7 @@ use warnings;
use
base
qw/Bio::EnsEMBL::Pipeline::FASTA::Base/
;
use
Bio::EnsEMBL::Utils::
Scalar
qw/check_ref/
;
use
File::
Spec
;
sub
param_defaults
{
...
...
@@ -81,7 +82,7 @@ sub fetch_input {
my
(
$self
)
=
@_
;
my
$servers
=
$self
->
param
('
target_servers
');
if
(
!
@
{
$servers
})
{
if
(
!
check_ref
(
$servers
,
'
ARRAY
')
||
!
@
{
$servers
})
{
my
$msg
=
'
Will not perform copy as we have no servers
';
my
$is_error
=
0
;
$self
->
db
()
->
get_JobMessageAdaptor
()
->
register_message
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment