hongaik commited on
Commit
14e895f
1 Parent(s): fa6c7f3

initial test

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,7 +75,7 @@ if len(uploaded_files) > 0:
75
  elif uploaded_file.name == 'FlipFold4_accum.xlsx':
76
  flipfold_accum = pd.read_excel(uploaded_file, skiprows=8, nrows=11, usecols="A:D")
77
  flipfold_accum2 = pd.read_excel(uploaded_file, skiprows=24, nrows=5, usecols="A:N")
78
- st.write('flipfold_accum2: ' + str(flipfold_accum2.shape))
79
 
80
  elif uploaded_file.name == 'FlipFold4_analysis.xlsx':
81
  flipfold = pd.read_excel(uploaded_file, skiprows=9)
@@ -268,7 +268,7 @@ if len(uploaded_files) > 0:
268
 
269
  context2 = {**context, **flip4_dict, **fold4_dict}
270
  doc.render(context2)
271
- results = doc.save()
272
 
273
  st.download_button(
274
  label="Download report here",
 
75
  elif uploaded_file.name == 'FlipFold4_accum.xlsx':
76
  flipfold_accum = pd.read_excel(uploaded_file, skiprows=8, nrows=11, usecols="A:D")
77
  flipfold_accum2 = pd.read_excel(uploaded_file, skiprows=24, nrows=5, usecols="A:N")
78
+ #st.write('flipfold_accum2: ' + str(flipfold_accum2.shape))
79
 
80
  elif uploaded_file.name == 'FlipFold4_analysis.xlsx':
81
  flipfold = pd.read_excel(uploaded_file, skiprows=9)
 
268
 
269
  context2 = {**context, **flip4_dict, **fold4_dict}
270
  doc.render(context2)
271
+ results = doc.save("SEAO Fold 4_Flip 4 Quality Monitoring (" + datetime.datetime.now().strftime("%#d %b") + ").docx")
272
 
273
  st.download_button(
274
  label="Download report here",