Commit a8a89577 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

bug fix T3SS_family typos

somewhere it was spelled with 2 l

parent f97e6470
...@@ -231,7 +231,7 @@ ...@@ -231,7 +231,7 @@
<h1>Secretion system {{code}}</h1> <h1>Secretion system {{code}}</h1>
<ul> <ul>
<li>code: {{code}}</li> <li>code: {{code}}</li>
<li>T3SS family:{{T3SS_familly}}</li> <li>T3SS family:{{T3SS_family}}</li>
</ul> </ul>
<h2>Replicon</h2> <h2>Replicon</h2>
<ul> <ul>
......
...@@ -41,7 +41,7 @@ def system_parser( system_data ): ...@@ -41,7 +41,7 @@ def system_parser( system_data ):
@rtype: dict @rtype: dict
""" """
system_db = {} 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') 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 : with open( system_data , 'r' ) as system_file :
...@@ -89,7 +89,7 @@ class SecretionSystem( Document ): ...@@ -89,7 +89,7 @@ class SecretionSystem( Document ):
a representation of a secretion System to be use with couchdb a representation of a secretion System to be use with couchdb
""" """
code = StringProperty( required=True ) code = StringProperty( required=True )
T3SS_familly = StringProperty() T3SS_family = StringProperty()
replicon = DictProperty() replicon = DictProperty()
genes = ListProperty() genes = ListProperty()
...@@ -131,7 +131,7 @@ def fill_db( server_uri, db_name, user, passwd, replicon_db , system_db , force_ ...@@ -131,7 +131,7 @@ def fill_db( server_uri, db_name, user, passwd, replicon_db , system_db , force_
secretion_system = SecretionSystem() secretion_system = SecretionSystem()
secretion_system._id = system.code secretion_system._id = system.code
secretion_system.code = 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 , secretion_system.replicon = { 'name' : replicon.name ,
'taxid' : replicon.taxid, 'taxid' : replicon.taxid,
'strain' : replicon.strain, 'strain' : replicon.strain,
......
Supports Markdown
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