Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
045f36b1
Commit
045f36b1
authored
Mar 02, 2005
by
Jessica Severin
Browse files
added method flow_output_job, so this can be called independent of finishing
a job that has been flowed into an analysis/process
parent
3bd7c141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+10
-4
No files found.
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
045f36b1
...
...
@@ -280,8 +280,17 @@ sub worker_register_job_done {
return
unless
(
$job
);
return
unless
(
$job
->
dbID
and
$job
->
adaptor
and
$job
->
hive_id
);
return
unless
(
$worker
and
$worker
->
analysis
and
$worker
->
analysis
->
dbID
);
$job
->
update_status
('
DONE
');
}
sub
flow_output_job
{
my
$self
=
shift
;
my
$job
=
shift
;
return
unless
(
$job
);
# create_next_jobs
my
$rules
=
$self
->
db
->
get_DataflowRuleAdaptor
->
fetch_from_analysis_job
(
$job
);
foreach
my
$rule
(
@
{
$rules
})
{
Bio::EnsEMBL::Hive::DBSQL::
AnalysisJobAdaptor
->
CreateNewJob
(
...
...
@@ -290,9 +299,6 @@ sub worker_register_job_done {
-
input_job_id
=>
$job
->
dbID
,
);
}
$job
->
update_status
('
DONE
');
}
...
...
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