Skip to content
Snippets Groups Projects
Commit a89bcaf0 authored by University's avatar University
Browse files

Function de get-hash-mphf

parent 7617f93d
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,10 @@ def get_hash_mphf(mphf, kmer):
>>> 0 <= hash_mphf < n
True
"""
pass # TODO modifier
h = abs(hash(kmer))
for h-mphf,rang in mphf:
if h-mohf == h :
return rang
def create_hash_table(set_kmer, n):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment