yashm commited on
Commit
7974db2
·
verified ·
1 Parent(s): d2c3263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -130,9 +130,9 @@ if uploaded_file is not None:
130
  key='download-csv'
131
  )
132
  # Plotting PCR products
133
- if st.button(f'Design Primers for selected {feature_type}'):
134
- # Assuming primer_df is already created with the required information
135
- feature_length = len(feature_sequence) # Length of the selected feature
136
- plot_pcr_product_with_df(feature_sequence, primer_df, feature_length)
137
  else:
138
  st.error('No primers were found. Please adjust your parameters and try again.')
 
130
  key='download-csv'
131
  )
132
  # Plotting PCR products
133
+ st.write("### Visualization of PCR Products")
134
+ # Your primer design logic and data preparation
135
+ feature_length = len(feature_sequence)
136
+ plot_pcr_product(feature_sequence, primers, feature_length, num_pairs=5)
137
  else:
138
  st.error('No primers were found. Please adjust your parameters and try again.')