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
b33e1cde
Commit
b33e1cde
authored
Mar 13, 2014
by
Leo Gordon
Browse files
setter function on ->stats() no longer used ; accessing AnalysisStats collection instead
parent
665ea6cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
modules/Bio/EnsEMBL/Hive/Analysis.pm
modules/Bio/EnsEMBL/Hive/Analysis.pm
+2
-5
No files found.
modules/Bio/EnsEMBL/Hive/Analysis.pm
View file @
b33e1cde
...
...
@@ -192,10 +192,8 @@ sub url {
sub
stats
{
my
$self
=
shift
@_
;
if
(
@
_
)
{
# set for caching
$self
->
{'
_stats
'}
=
shift
@_
;
}
return
$self
->
{'
_stats
'}
||
$self
->
adaptor
->
db
->
get_AnalysisStatsAdaptor
->
fetch_by_analysis_id
(
$self
->
dbID
);
return
Bio::EnsEMBL::
Hive
->
collection
('
AnalysisStats
')
->
find_one_by
('
analysis
',
$self
)
||
$self
->
adaptor
->
db
->
get_AnalysisStatsAdaptor
->
fetch_by_analysis_id
(
$self
->
dbID
);
}
...
...
@@ -223,7 +221,6 @@ sub dataflow_rules_collection {
$self
->
{'
_dataflow_rules_collection
'}
=
shift
if
(
@
_
);
return
$self
->
{'
_dataflow_rules_collection
'}
||
Bio::EnsEMBL::
Hive
->
collection
('
DataflowRule
')
->
find_all_by
('
from_analysis
',
$self
);
# return $self->{'_dataflow_rules_collection'} ||= [];
}
...
...
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