I'm trying to download multiple GSM or GSE record, hence I'm using getGEO function in a loop.
example
for each gse in a list_of_gse:
var = getGEO(gse)
..........etc
however, occasionally some record cannot be downloaded. This results in one of two situation:
the whole execution stops
the loop continues but the output miss that specific record information
Once I got an error like:
Error in the HTTP2 framing layerFile stored at:
/tmp/RtmpmogEWR/GSM5802517.soft
Error in downloadFile(myurl, destfile, mode) :
Failed to download /tmp/RtmpmogEWR/GSM5802517.soft!
Called: get_metadata -> getGEO -> getGEOfile -> downloadFile
Execution stopped
I would like to know if there was a way to check at each iteration if the download have been successful and, if not, try again in downloading the file.
Thank you in advance!
edit: I also just got this error
Timeout was reached: [] Operation timed out after 120000 milliseconds with 47824896 out of 156738322 bytes receivedFile stored at:
/tmp/Rtmp7I7FTO/GSE86434.soft.gz
Error in downloadFile(myurl, destfile, mode) :
Failed to download /tmp/Rtmp7I7FTO/GSE86434.soft.gz!
Called: getGEO -> getGEOfile -> downloadFile
Execution stopped
Hi and thank you for your very useful package.
I'm trying to download multiple GSM or GSE record, hence I'm using getGEO function in a loop. example
however, occasionally some record cannot be downloaded. This results in one of two situation:
Once I got an error like:
I would like to know if there was a way to check at each iteration if the download have been successful and, if not, try again in downloading the file.
Thank you in advance!
edit: I also just got this error