From 8ec1d6baec20dc2953ac68f071bc295650b93e30 Mon Sep 17 00:00:00 2001
From: Andrew Yates <ayates@ebi.ac.uk>
Date: Tue, 19 Mar 2013 13:39:03 +0000
Subject: [PATCH] removing format and adding type. also doing -driver in the
 newer way

---
 .../EnsEMBL/Pipeline/PipeConfig/FlatfileChecker_conf.pm  | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Pipeline/PipeConfig/FlatfileChecker_conf.pm b/modules/Bio/EnsEMBL/Pipeline/PipeConfig/FlatfileChecker_conf.pm
index 36f4a48aab..1a474a817b 100644
--- a/modules/Bio/EnsEMBL/Pipeline/PipeConfig/FlatfileChecker_conf.pm
+++ b/modules/Bio/EnsEMBL/Pipeline/PipeConfig/FlatfileChecker_conf.pm
@@ -8,7 +8,7 @@ use base ('Bio::EnsEMBL::Hive::PipeConfig::HiveGeneric_conf');
 sub default_options {
     my ($self) = @_;
     
-    return {
+    my $h = {
       # inherit other stuff from the base class
       %{ $self->SUPER::default_options() }, 
       
@@ -17,12 +17,11 @@ sub default_options {
       
       ### Defaults 
       
-      pipeline_name => 'flatfile_dump_check_'.$self->o('format'),
+      pipeline_name => 'flatfile_dump_check_'.$self->o('type'),
       
-      pipeline_db => {
-        -driver => 'sqlite',
-      }
     };
+    $h->{pipeline_db}->{-driver} = 'sqlite';
+    return $h;
 }
 
 sub pipeline_create_commands {
-- 
GitLab