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
5bb15879
Commit
5bb15879
authored
Feb 26, 2014
by
Leo Gordon
Browse files
start using autoloaded DataflowRule.funnel_dataflow_rule() method
parent
9b187b1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
+8
-8
No files found.
modules/Bio/EnsEMBL/Hive/PipeConfig/HiveGeneric_conf.pm
View file @
5bb15879
...
...
@@ -644,7 +644,7 @@ sub run {
$flow_into
||=
{};
$flow_into
=
{
1
=>
$flow_into
}
unless
(
ref
(
$flow_into
)
eq
'
HASH
');
# force non-hash into a hash
my
%group_tag_to_funnel_dataflow_rule
_id
=
();
my
%group_tag_to_funnel_dataflow_rule
=
();
my
$semaphore_sign
=
'
->
';
...
...
@@ -665,10 +665,10 @@ sub run {
die
"
Error parsing the group tag '
$branch_tag
'
\n
";
}
my
$funnel_dataflow_rule
_id
=
undef
;
# NULL by default
my
$funnel_dataflow_rule
=
undef
;
# NULL by default
if
(
$group_role
eq
'
fan
')
{
unless
(
$funnel_dataflow_rule
_id
=
$group_tag_to_funnel_dataflow_rule
_id
{
$group_tag
})
{
unless
(
$funnel_dataflow_rule
=
$group_tag_to_funnel_dataflow_rule
{
$group_tag
})
{
die
"
No funnel dataflow_rule defined for group '
$group_tag
'
\n
";
}
}
...
...
@@ -692,25 +692,25 @@ sub run {
'
from_analysis
'
=>
$analysis
,
'
to_analysis_url
'
=>
$heir_url
,
'
branch_code
'
=>
$branch_name_or_code
,
'
funnel_dataflow_rule
'
=>
$funnel_dataflow_rule
,
'
input_id_template
'
=>
$input_id_template
,
'
funnel_dataflow_rule_id
'
=>
$funnel_dataflow_rule_id
,
);
$dataflow_rule_adaptor
->
store
(
$df_rule
,
1
);
warn
$df_rule
->
toString
.
"
\n
";
if
(
$group_role
eq
'
funnel
')
{
if
(
$group_tag_to_funnel_dataflow_rule
_id
{
$group_tag
})
{
if
(
$group_tag_to_funnel_dataflow_rule
{
$group_tag
})
{
die
"
More than one funnel dataflow_rule defined for group '
$group_tag
'
\n
";
}
else
{
$group_tag_to_funnel_dataflow_rule
_id
{
$group_tag
}
=
$df_rule
->
dbID
()
;
$group_tag_to_funnel_dataflow_rule
{
$group_tag
}
=
$df_rule
;
}
}
}
# /for all templates
}
# /for all heirs
}
# /for all branch_tags
}
}
}
# /for all pipeline_analyses
}
# /unless($job_topup)
print
"
\n\n
# --------------------[Useful commands]--------------------------
\n
";
print
"
\n
";
...
...
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