Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DessimozLab/HogProf
Browse files Browse the repository at this point in the history
  • Loading branch information
cactuskid committed Sep 25, 2024
2 parents 349bdc9 + 781c72f commit 01f5de5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/HogProf/lshbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def saver(self, i, q, retq, matq, l ):
save_start = t.time()
else:
print(this_dataframe)
else:
else
print('wrapping up the run')
print('saving at :' , t.time() - global_time )
forest.index()
Expand Down
2 changes: 1 addition & 1 deletion src/HogProf/profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def hog_query_sorted(self, hog_id=None, fam_id=None , k = 100 ):
sortedhogs = [(k, v) for k, v in hogdict.items()]
sortedhogs = sorted(student_tuples, key=lambda x: x[1])
sortedhogs = [ h[0] for h in sortehogs.reverse() ]
return hogdict
return hogdict , sortedhogs

def pull_hashes(self , hoglist):

Expand Down

0 comments on commit 01f5de5

Please sign in to comment.