Skip to content

Commit

Permalink
int(self.meta.blank) (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
meren committed Jun 6, 2016
1 parent c2b40dc commit 713e927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anvio/dbops.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def init(self):
meta_table = self.db.get_table_as_dict('self')
self.meta = dict([(k, meta_table[k]['value']) for k in meta_table])

for key in ['min_contig_length', 'SNVs_profiled', 'AA_frequencies_profiled', 'min_coverage_for_variability', 'merged', 'contigs_clustered', 'report_variability_full', 'num_contigs', 'num_splits', 'total_length', 'total_reads_mapped']:
for key in ['min_contig_length', 'SNVs_profiled', 'AA_frequencies_profiled', 'min_coverage_for_variability', 'merged', 'blank', 'contigs_clustered', 'report_variability_full', 'num_contigs', 'num_splits', 'total_length', 'total_reads_mapped']:
try:
self.meta[key] = int(self.meta[key])
except:
Expand Down

0 comments on commit 713e927

Please sign in to comment.