Eitan177 commited on
Commit
14dd3f2
·
1 Parent(s): 73db7a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,7 +36,7 @@ def show_pdf(file_path):
36
  st.markdown(pdf_display, unsafe_allow_html=True)
37
 
38
  def showdl_counts(file_to_lookat,to_dl_sbs96,to_dl_sbs1536):
39
- for j in np.arange(0,len(to_dl_sbs)):
40
  if to_dl_sbs96[j] != []:
41
  download_link1 = f'<a href="data:application/octet-stream;base64, \
42
  {base64.b64encode(to_dl_sbs96[j]).decode()}" download=" \
@@ -301,8 +301,8 @@ if file_to_lookat !=[] and sub:
301
  data['96'].to_csv('sbs96.txt',sep='\t',header=False,index=True)
302
  data['1536'].to_csv('sbs1536.txt',sep='\t',header=False,index=True)
303
  sbs96_result,sbs1536_result=dl_counts(j)
304
- st.write(data['96'])
305
- st.write(data['1536'])
306
  to_dl_sbs96.append(sbs96_result)
307
  to_dl_sbs1536.append(sbs1536_result)
308
  remove_old_vcf()
 
36
  st.markdown(pdf_display, unsafe_allow_html=True)
37
 
38
  def showdl_counts(file_to_lookat,to_dl_sbs96,to_dl_sbs1536):
39
+ for j in np.arange(0,len(to_dl_sbs96)):
40
  if to_dl_sbs96[j] != []:
41
  download_link1 = f'<a href="data:application/octet-stream;base64, \
42
  {base64.b64encode(to_dl_sbs96[j]).decode()}" download=" \
 
301
  data['96'].to_csv('sbs96.txt',sep='\t',header=False,index=True)
302
  data['1536'].to_csv('sbs1536.txt',sep='\t',header=False,index=True)
303
  sbs96_result,sbs1536_result=dl_counts(j)
304
+ #st.write(data['96'])
305
+ #st.write(data['1536'])
306
  to_dl_sbs96.append(sbs96_result)
307
  to_dl_sbs1536.append(sbs1536_result)
308
  remove_old_vcf()