If data is not available, use R-compatible 'NA' string.

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5987 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
hanna 2011-06-13 18:53:38 +00:00
parent db43e3f1ab
commit e0ed30681e
1 changed files with 3 additions and 3 deletions

View File

@ -56,9 +56,9 @@ for sample_id,filename in samples.items():
max_haplotypes_confidently_matching = str(max(haplotypes_confidently_matching))
median_haplotypes_confidently_matching = str(median(haplotypes_confidently_matching))
else:
min_haplotypes_confidently_matching = 'N/A'
max_haplotypes_confidently_matching = 'N/A'
median_haplotypes_confidently_matching = 'N/A'
min_haplotypes_confidently_matching = 'NA'
max_haplotypes_confidently_matching = 'NA'
median_haplotypes_confidently_matching = 'NA'
hybrid_selection_metrics = get_metrics('%s.%s' % (basepath,'hybrid_selection_metrics'))[0]
alignment_summary_metrics = get_metrics('%s.%s' % (basepath,'alignment_summary_metrics'))[0]