Skip to content

Commit 857bf41

Browse files
replaced the file downloading function
1 parent 2b4f94e commit 857bf41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

goa/goa.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ function run(){
6666
$rfile = $rdir.strtoupper($file)."/gene_association.goa_".$file.".gz";
6767
if($download == true) {
6868
echo "downloading $file ... ";
69-
file_put_contents($lfile,file_get_contents($rfile));
69+
//file_put_contents($lfile,file_get_contents($rfile));
70+
utils::DownloadSingle($rfile,$lfile);
7071
}
7172

7273
$gz = (strstr(parent::getParameterValue('output_format'),".gz") === FALSE)?false:true;

0 commit comments

Comments
 (0)