Andrew Stirn commited on
Commit
c661b33
·
1 Parent(s): 4da7dd2
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,6 +1,7 @@
 
 
1
  import pandas as pd
2
  import streamlit as st
3
- import os, shutil
4
  from tiger import tiger_exhibit, load_transcripts, TARGET_LEN, NUCLEOTIDE_TOKENS
5
 
6
 
@@ -82,5 +83,5 @@ if src_seq and all([True if nt.upper() in NUCLEOTIDE_TOKENS.keys() else False fo
82
  st.write('We did not find any off-target effects!')
83
 
84
  # invalid input
85
- else:
86
  st.write('Invalid input!')
 
1
+ import os
2
+ import shutil
3
  import pandas as pd
4
  import streamlit as st
 
5
  from tiger import tiger_exhibit, load_transcripts, TARGET_LEN, NUCLEOTIDE_TOKENS
6
 
7
 
 
83
  st.write('We did not find any off-target effects!')
84
 
85
  # invalid input
86
+ elif src_seq is not None:
87
  st.write('Invalid input!')