Skip to content

Commit 01f5de5

Browse files
committed
Merge branch 'master' of github.com:DessimozLab/HogProf
2 parents 349bdc9 + 781c72f commit 01f5de5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/HogProf/lshbuilder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ def saver(self, i, q, retq, matq, l ):
336336
save_start = t.time()
337337
else:
338338
print(this_dataframe)
339-
else:
339+
else
340340
print('wrapping up the run')
341341
print('saving at :' , t.time() - global_time )
342342
forest.index()

src/HogProf/profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def hog_query_sorted(self, hog_id=None, fam_id=None , k = 100 ):
364364
sortedhogs = [(k, v) for k, v in hogdict.items()]
365365
sortedhogs = sorted(student_tuples, key=lambda x: x[1])
366366
sortedhogs = [ h[0] for h in sortehogs.reverse() ]
367-
return hogdict
367+
return hogdict , sortedhogs
368368

369369
def pull_hashes(self , hoglist):
370370

0 commit comments

Comments
 (0)