Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ if sub and file_to_lookat !=[]:
|
|
68 |
dirtest=os.path.join(os.path.dirname(SigProfilerMatrixGenerator.__file__),'references/chromosomes/tsb/GRCh37/')+'*txt'
|
69 |
st.write(dirtest)
|
70 |
#st.write(sys.path)
|
71 |
-
if refdownload
|
72 |
with st.spinner('downloading hg19 reference'):
|
73 |
urllib.request.urlretrieve('https://dl.dropboxusercontent.com/s/et97ewsct862x7m/references.zip?dl=0','references.zip')
|
74 |
with zipfile.ZipFile('references.zip', 'r') as zip_ref:
|
|
|
68 |
dirtest=os.path.join(os.path.dirname(SigProfilerMatrixGenerator.__file__),'references/chromosomes/tsb/GRCh37/')+'*txt'
|
69 |
st.write(dirtest)
|
70 |
#st.write(sys.path)
|
71 |
+
if refdownload==True:
|
72 |
with st.spinner('downloading hg19 reference'):
|
73 |
urllib.request.urlretrieve('https://dl.dropboxusercontent.com/s/et97ewsct862x7m/references.zip?dl=0','references.zip')
|
74 |
with zipfile.ZipFile('references.zip', 'r') as zip_ref:
|