Skip to content

Commit

Permalink
add timeout config to sra_download
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Jul 10, 2020
1 parent e04a646 commit c35abda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@ process sra_download{
if [[ -z `grep "/repository/user/main/public/root" ~/.ncbi/user-settings.mkfg` ]]; then
echo '/repository/user/main/public/root = "${params.sra_fastq_dump_path}"' >> $HOME/.ncbi/user-settings.mkfg
fi;
if [[ -z `grep "/http/timeout/read" ~/.ncbi/user-settings.mkfg` ]]; then
echo '/http/timeout/read = "10000"' >> $HOME/.ncbi/user-settings.mkfg
fi;
else
echo '/repository/user/main/public/root = "${params.sra_fastq_dump_path}"' > $HOME/.ncbi/user-settings.mkfg
fi
Expand Down

0 comments on commit c35abda

Please sign in to comment.