astirn commited on
Commit
44f0ad0
·
1 Parent(s): 78951dd
Files changed (1) hide show
  1. app.py +1 -2
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. It is {:d} chars'.format(len(st.session_state['userInput'])))
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']]):