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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -132,7 +132,7 @@ if uploaded_file is not None:
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.')
 
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) # 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.')