From a8a895770507757472dcc5c58e4082d15de1f1ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= <bneron@pasteur.fr>
Date: Thu, 16 Feb 2012 13:19:23 +0000
Subject: [PATCH] bug fix T3SS_family typos somewhere it was spelled with 2 l

---
 src/couchapp/secreton/templates/secretion_system.html | 2 +-
 src/parser/parser.py                                  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/couchapp/secreton/templates/secretion_system.html b/src/couchapp/secreton/templates/secretion_system.html
index ee27a7a..0bbd0c5 100644
--- a/src/couchapp/secreton/templates/secretion_system.html
+++ b/src/couchapp/secreton/templates/secretion_system.html
@@ -231,7 +231,7 @@
 	<h1>Secretion system {{code}}</h1>
 	<ul>
 		<li>code: {{code}}</li>
-		<li>T3SS family:{{T3SS_familly}}</li>
+		<li>T3SS family:{{T3SS_family}}</li>
 	</ul>
 	<h2>Replicon</h2>
 	<ul>
diff --git a/src/parser/parser.py b/src/parser/parser.py
index eadd4a1..b4530fd 100755
--- a/src/parser/parser.py
+++ b/src/parser/parser.py
@@ -41,7 +41,7 @@ def system_parser( system_data ):
     @rtype: dict
     """
     system_db = {}
-    System_info = namedtuple('System_info', 'code, T3SS_familly, replicon,  genes' )
+    System_info = namedtuple('System_info', 'code, T3SS_family, replicon,  genes' )
     Gene = namedtuple( 'Gene', 'code, id, protein_length, strand, begin, end, match, full_score, e_value, best_domain_score, best_domain_evalue, c_value, coverage_profile, match_begin, match_end')
   
     with open( system_data , 'r' ) as system_file :
@@ -89,7 +89,7 @@ class SecretionSystem( Document ):
     a representation of a secretion System to be use with couchdb 
     """
     code         = StringProperty( required=True )
-    T3SS_familly = StringProperty()
+    T3SS_family = StringProperty()
     replicon     = DictProperty()
     genes        = ListProperty()
       
@@ -131,7 +131,7 @@ def fill_db( server_uri, db_name, user, passwd, replicon_db , system_db , force_
         secretion_system = SecretionSystem()
         secretion_system._id  = system.code
         secretion_system.code = system.code
-        secretion_system.T3SS_familly = system.T3SS_familly
+        secretion_system.T3SS_family = system.T3SS_family
         secretion_system.replicon = { 'name'     : replicon.name ,
                                       'taxid'    : replicon.taxid,
                                       'strain'   : replicon.strain,
-- 
GitLab