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-hive
Commits
b2cae78f
Commit
b2cae78f
authored
Aug 15, 2005
by
Jessica Severin
Browse files
added more messages for fail cases
parent
01961b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
scripts/ehive_unblock.pl
scripts/ehive_unblock.pl
+5
-1
No files found.
scripts/ehive_unblock.pl
View file @
b2cae78f
...
...
@@ -12,9 +12,13 @@ GetOptions('help' => \$help,
);
if
(
$help
)
{
usage
();
}
unless
(
$url
)
{
printf
("
must specifiy -url
\n\n
");
usage
();
}
my
$job
=
Bio::EnsEMBL::Hive::
URLFactory
->
fetch
(
$url
);
die
("
Unable to fecth job via url
$url
\n
")
unless
(
$job
);
unless
(
$job
and
$job
->
isa
('
Bio::EnsEMBL::Hive::AnalysisJob
'))
{
printf
("
Unable to fetch job via url:
$url
\n\n
");
usage
();
}
$job
->
print_job
;
$job
->
update_status
('
READY
');
...
...
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