File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,15 @@ def download_data(dataPath, resetData):
157157 data_url = 'https://applbio.biologie.uni-frankfurt.de/download/hamstr_qfo'
158158 if os .path .exists (data_fdog_file ) and resetData :
159159 os .remove (data_fdog_file )
160- general_fn .download_file (data_url , data_fdog_file )
160+ # general_fn.download_file(data_url, data_fdog_file)
161+ ####### temporary solution while the uni network does not work #########
162+ wgetCmd = 'wget "https://www.dropbox.com/scl/fi/t2ln18k0jthc3y74s591q/data_HaMStR-2019c.tar.gz?rlkey=c66nc3eslqyn2a6k6ey4e678r&st=plzvbllv&dl=0"'
163+ try :
164+ subprocess .run ([wgetCmd ], shell = True , check = True )
165+ shutil .move ("data_HaMStR-2019c.tar.gz?rlkey=c66nc3eslqyn2a6k6ey4e678r&st=plzvbllv&dl=0" , "data_HaMStR-2019c.tar.gz" )
166+ except :
167+ print ('Problem occurred while download demo data from dropbox' )
168+ ########################################################################
161169 try :
162170 print ('Extracting %s...' % data_fdog_file )
163171 shutil .unpack_archive (data_fdog_file , dataPath , 'gztar' )
Original file line number Diff line number Diff line change 2626
2727setup (
2828 name = "fdog" ,
29- version = "0.1.34 " ,
29+ version = "0.1.35 " ,
3030 python_requires = '>=3.7.0' ,
3131 description = "Feature-aware Directed OrtholoG search tool" ,
3232 long_description = long_description ,
You can’t perform that action at this time.
0 commit comments