Skip to content

Commit

Permalink
fixes #228
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Jun 18, 2015
1 parent 13aa990 commit 241799d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions voseq/public_interface/management/commands/_migrate_db.py
Expand Up @@ -332,8 +332,10 @@ def import_table_sequences(self):
ambiguous_chars = item['sequences'].count('?') + item['sequences'].count('-')
ambiguous_chars += item['sequences'].count('N') + item['sequences'].count('n')
item['number_ambiguous_bp'] = ambiguous_chars
item['total_number_bp'] = len(item['sequences'])
else:
item['number_ambiguous_bp'] = None
item['total_number_bp'] = None

if item['genbank'] == '0':
item['genbank'] = False
Expand Down

0 comments on commit 241799d

Please sign in to comment.