Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
cleanup
Browse files
app.py
CHANGED
|
@@ -16,8 +16,7 @@ st.session_state['userInput'] = st.text_input('Enter a target transcript (or sub
|
|
| 16 |
|
| 17 |
# input is too short
|
| 18 |
if len(st.session_state['userInput']) < GUIDE_LEN:
|
| 19 |
-
st.write('Transcript length must be >= 23 bases.
|
| 20 |
-
st.write('')
|
| 21 |
|
| 22 |
# valid input
|
| 23 |
elif all([True if nt.upper() in NUCLEOTIDE_TOKENS.keys() else False for nt in st.session_state['userInput']]):
|
|
|
|
| 16 |
|
| 17 |
# input is too short
|
| 18 |
if len(st.session_state['userInput']) < GUIDE_LEN:
|
| 19 |
+
st.write('Transcript length ({:d}) must be >= 23 bases.'.format(len(st.session_state['userInput'])))
|
|
|
|
| 20 |
|
| 21 |
# valid input
|
| 22 |
elif all([True if nt.upper() in NUCLEOTIDE_TOKENS.keys() else False for nt in st.session_state['userInput']]):
|