Commit 04ad0fab authored by Leo Gordon's avatar Leo Gordon
Browse files

no longer used

parent 7e45b86c
......@@ -33,8 +33,6 @@ use Bio::EnsEMBL::Utils::Exception;
use Bio::EnsEMBL::Analysis;
use Bio::EnsEMBL::DBSQL::DBConnection;
use Bio::EnsEMBL::Hive::URLFactory;
#use Bio::EnsEMBL::Pipeline::RunnableDB;
#use Bio::EnsEMBL::Analysis::RunnableDB;
=head2 Bio::EnsEMBL::Analysis::process
......@@ -161,34 +159,6 @@ sub Bio::EnsEMBL::Analysis::stats
return $stats;
}
=head2 Bio::EnsEMBL::Analysis::data
Arg [1] : none
Example : $stats = $analysis->data;
Description: returns the analysis data associated with this Analysis
object. The data is stored in the analysis_data table.
Does not cache, but pull from database by using the
Analysis objects adaptor->db.
Returntype : String
Exceptions : none
Caller : general
=cut
sub Bio::EnsEMBL::Analysis::data
{
my $self = shift;
my $data = "";
my $analysis_data_id = eval($self->parameters)->{'analysis_data_id'};
unless ( $analysis_data_id) {
warning( " analysis_data_id undefined for analysis " .$self->logic_name. " in analysis_data table.") ;
}else {
$data = $self->adaptor->db->get_AnalysisDataAdaptor->fetch_by_dbID($analysis_data_id) ;
}
return $data;
}
#######################################
# extensions to
......
......@@ -90,7 +90,6 @@ use Bio::EnsEMBL::DBSQL::DBConnection;
use Bio::EnsEMBL::Utils::Argument;
use Bio::EnsEMBL::Utils::Exception ('throw');
use Bio::EnsEMBL::Hive::Utils ('url2dbconn_hash');
#use Bio::EnsEMBL::Hive::AnalysisJob;
use base ('Bio::EnsEMBL::Utils::Exception'); # provide these methods for deriving classes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment