コード例 #1
0
ファイル: filter_stats.py プロジェクト: tkerelska/pbreports
    def attribute(self):
        if len(self.bins) == 0:
            # No values? Probably should raise an exception?
            return 0.0

        return compute_n50_from_bins(self.bins)
コード例 #2
0
ファイル: mapping_stats.py プロジェクト: natechols/pbreports
 def attribute(self):
     return compute_n50_from_bins(self.bins)
コード例 #3
0
ファイル: mapping_stats.py プロジェクト: lpp1985/lpp_Script
 def attribute(self):
     return compute_n50_from_bins(self.bins)