Skip to content
Snippets Groups Projects
Commit 9efa5e15 authored by Ian Longden's avatar Ian Longden
Browse files

Added get_available_adaptors to get the pairs of name / adaptor modules. This...

Added get_available_adaptors to get the pairs of name / adaptor modules. This should make it easier to read etc
parent ec06ff7b
No related branches found
No related tags found
No related merge requests found
......@@ -53,5 +53,19 @@ sub get_Queen {
return $self->get_QueenAdaptor();
}
sub get_available_adaptors{
my %pairs = (
"MetaContainer" => 'Bio::EnsEMBL::DBSQL::MetaContainer',
"Analysis" => "Bio::EnsEMBL::DBSQL::AnalysisAdaptor",
"Queen" => "Bio::EnsEMBL::Hive::Queen",
"AnalysisJob" => "Bio::EnsEMBL::Hive::DBSQL::AnalysisJobAdaptor",
"AnalysisStats" => "Bio::EnsEMBL::Hive::DBSQL::AnalysisStatsAdaptor",
"AnalysisCtrlRule" => "Bio::EnsEMBL::Hive::DBSQL::AnalysisCtrlRuleAdaptor",
"DataflowRule" => "Bio::EnsEMBL::Hive::DBSQL::DataflowRuleAdaptor",
"SimpleRule" => "Bio::EnsEMBL::Hive::DBSQL::SimpleRuleAdaptor");
return (%pairs);
}
1;
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