Skip to content

Commit dec5c1f

Browse files
committed
add sample name
1 parent cf491d3 commit dec5c1f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

chill_filter_web/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def get_md5(path):
101101
f_found = sum_weighted_found / total_weighted_hashes
102102

103103
return render_template("sample_search.html",
104+
sig=ss,
104105
gather_df=gather_df,
105106
f_found=f_found)
106107
else:

chill_filter_web/templates/sample_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!- template: sample_index.html -->
2-
<h1>Sample summary</h1>
2+
<h1>Sample summary: {{ sig.name }} </h1>
33

44
Name: {{ sig.name }}<p>
55
Estimated size of sample: {{ sum_weighted_hashes * sig.minhash.scaled / 1e6 }} Mbp

0 commit comments

Comments
 (0)