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
0cbb4afd
Commit
0cbb4afd
authored
May 01, 2012
by
Leo Gordon
Browse files
remove_by_condition_analysis_url() is no longer used by Compara, so has been removed
parent
8811e268
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisCtrlRuleAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisCtrlRuleAdaptor.pm
+0
-26
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisCtrlRuleAdaptor.pm
View file @
0cbb4afd
...
...
@@ -44,32 +44,6 @@ sub object_class {
}
=head2 remove_by_condition_analysis_url
Arg[1] : string condition_analysis_url
Usage : $self->remove_by_condition_analysis_url("ThisAnalysisLogicName");
Function: removes all the control rules for this condition analysis URL
Returns : -
NB: This method is not called by ensembl-hive code itself,
however it is used by two Compara pipeline modules,
Bio/EnsEMBL/Compara/Production/GenomicAlignBlock/CreateAlignmentChainsJobs.pm
and
Bio/EnsEMBL/Compara/Production/GenomicAlignBlock/CreateAlignmentNetsJobs.pm
in order to avoid blocking by an empty analysis. It should be re-written by using can_be_empty=1 analyses.
=cut
sub
remove_by_condition_analysis_url
{
my
(
$self
,
$condition_analysis_url
)
=
@_
;
my
$sth
=
$self
->
prepare
("
DELETE FROM analysis_ctrl_rule WHERE condition_analysis_url =?
");
$sth
->
execute
(
$condition_analysis_url
);
}
=head2 create_rule
Arg[1] : condition analysis object (Bio::EnsEMBL::Analysis object)
...
...
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