Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,19 +36,22 @@ def showdl(file_to_lookat,to_dl_sbs,to_dl_indel,to_dl_dbs,to_dl_sbs_text,to_dl_i
|
|
36 |
{file_to_lookat[j].name}SBS.pdf">Download {file_to_lookat[j].name} Single Base Substition pdf</a>'
|
37 |
download_link2 = f'<a href="data:application/octet-stream;base64, \
|
38 |
{base64.b64encode(to_dl_sbs_text[j]).decode()}" download=" \
|
39 |
-
{file_to_lookat[j].name}SBS.txt">Download {file_to_lookat[j].name} Single Base Substition table</a>'
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
52 |
|
53 |
st.markdown(download_link1, unsafe_allow_html=True)
|
54 |
|
|
|
36 |
{file_to_lookat[j].name}SBS.pdf">Download {file_to_lookat[j].name} Single Base Substition pdf</a>'
|
37 |
download_link2 = f'<a href="data:application/octet-stream;base64, \
|
38 |
{base64.b64encode(to_dl_sbs_text[j]).decode()}" download=" \
|
39 |
+
{file_to_lookat[j].name}SBS.txt">Download {file_to_lookat[j].name} Single Base Substition table</a>'
|
40 |
+
|
41 |
+
for j in np.arange(0,len(to_dl_indel)):
|
42 |
+
download_link3 = f'<a href="data:application/octet-stream;base64, \
|
43 |
+
{base64.b64encode(to_dl_indel[j]).decode()}" download=" \
|
44 |
+
{file_to_lookat[j].name}Indel.pdf">Download {file_to_lookat[j].name} indel pdf</a>'
|
45 |
+
download_link4 = f'<a href="data:application/octet-stream;base64, \
|
46 |
+
{base64.b64encode(to_dl_indel_text[j]).decode()}" download=" \
|
47 |
+
{file_to_lookat[j].name}Indel.txt">Download {file_to_lookat[j].name} indel table</a>'
|
48 |
+
for j in np.arange(0,len(to_dl_dbs)):
|
49 |
+
download_link5 = f'<a href="data:application/octet-stream;base64, \
|
50 |
+
{base64.b64encode(to_dl_dbs[j]).decode()}" download=" \
|
51 |
+
{file_to_lookat[j].name}DBS.pdf">Download {file_to_lookat[j].name} Double Base Substitution pdf</a>'
|
52 |
+
download_link6 = f'<a href="data:application/octet-stream;base64, \
|
53 |
+
{base64.b64encode(to_dl_dbs_text[j]).decode()}" download=" \
|
54 |
+
{file_to_lookat[j].name}DBS.txt">Download {file_to_lookat[j].name} Double Base Substitution table</a>'
|
55 |
|
56 |
st.markdown(download_link1, unsafe_allow_html=True)
|
57 |
|