From 41de0c8494025c32af60a0f772b755a46b655a0a Mon Sep 17 00:00:00 2001
From: Andrew Yates <ayates@ebi.ac.uk>
Date: Tue, 19 Mar 2013 11:49:56 +0000
Subject: [PATCH] forgot the registry file parameter

---
 .../EnsEMBL/Pipeline/PipeConfig/NcbiBlastReIndexer_conf.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/Bio/EnsEMBL/Pipeline/PipeConfig/NcbiBlastReIndexer_conf.pm b/modules/Bio/EnsEMBL/Pipeline/PipeConfig/NcbiBlastReIndexer_conf.pm
index 78fc86c947..c402253373 100644
--- a/modules/Bio/EnsEMBL/Pipeline/PipeConfig/NcbiBlastReIndexer_conf.pm
+++ b/modules/Bio/EnsEMBL/Pipeline/PipeConfig/NcbiBlastReIndexer_conf.pm
@@ -12,6 +12,7 @@ sub default_options {
       # inherit other stuff from the base class
       %{ $self->SUPER::default_options() }, 
       
+      # 'registry'  => '',  # registry file still needed for all species
       # 'fa_dir'    => '',  # locate where the current fa files to look for are
       # 'base_path' => '',  # where do you want your files
       
@@ -77,6 +78,12 @@ sub pipeline_wide_parameters {
   };
 }
 
+# override the default method, to force an automatic loading of the registry in all workers
+sub beekeeper_extra_cmdline_options {
+    my $self = shift;
+    return "-reg_conf ".$self->o("registry");
+}
+
 sub resource_classes {
   my $self = shift;
   return {
-- 
GitLab