コード例 #1
0
ファイル: __init__.py プロジェクト: BMumphrey/khmer
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_near_x(n_tables, starting_size)
     countgraph = _Countgraph(k, primes)
     class_ = _GraphLabels.__new__(cls, countgraph)
     class_.graph = countgraph
     return class_
コード例 #2
0
ファイル: __init__.py プロジェクト: wltrimbl/khmer
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_near_x(n_tables, starting_size)
     countgraph = _Countgraph(k, primes)
     class_ = _GraphLabels.__new__(cls, countgraph)
     class_.graph = countgraph
     return class_
コード例 #3
0
ファイル: __init__.py プロジェクト: BMumphrey/khmer
 def __new__(cls, k, starting_size, n_tables):
     nodegraph = Nodegraph(k, starting_size, n_tables)
     graphlabels = _GraphLabels.__new__(cls, nodegraph)
     graphlabels.graph = nodegraph
     return graphlabels
コード例 #4
0
ファイル: __init__.py プロジェクト: wltrimbl/khmer
 def __new__(cls, k, starting_size, n_tables):
     nodegraph = Nodegraph(k, starting_size, n_tables)
     graphlabels = _GraphLabels.__new__(cls, nodegraph)
     graphlabels.graph = nodegraph
     return graphlabels
コード例 #5
0
ファイル: __init__.py プロジェクト: ofanoyi/khmer
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_near_x(n_tables, starting_size)
     hb = _Countgraph(k, primes)
     c = _GraphLabels.__new__(cls, hb)
     c.graph = hb
     return c
コード例 #6
0
ファイル: __init__.py プロジェクト: ofanoyi/khmer
 def __new__(cls, k, starting_size, n_tables):
     hb = Nodegraph(k, starting_size, n_tables)
     c = _GraphLabels.__new__(cls, hb)
     c.graph = hb
     return c
コード例 #7
0
 def __new__(cls, k, starting_size, n_tables):
     primes = get_n_primes_near_x(n_tables, starting_size)
     hb = _Countgraph(k, primes)
     c = _GraphLabels.__new__(cls, hb)
     c.graph = hb
     return c
コード例 #8
0
 def __new__(cls, k, starting_size, n_tables):
     hb = Nodegraph(k, starting_size, n_tables)
     c = _GraphLabels.__new__(cls, hb)
     c.graph = hb
     return c