Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
| 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.')
|