Skip to content

Commit

Permalink
fix gdown bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wxicu committed Jan 18, 2024
1 parent c2e139f commit 1ed105e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_data/download_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FILEID="13CV6CjP9VzmwG5MVHbJiVDMVdiIhGdJB"
FILENAME="jurkat_293t_downsampled_n500_full_bam.bam"
# wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=$FILEID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=$FILEID" -O $FILENAME && rm -rf /tmp/cookies.txt
pip install gdown
gdown --id $FILEID -o $FILENAME
gdown --id $FILEID -O $FILENAME
wget --no-check-certificate 'https://docs.google.com/uc?export=download&id=1MmwEiOsdzEfRdXS6oXXBwMJXUovKWcni' -O final_res.zip
unzip final_res.zip
rm final_res.zip
Expand Down

0 comments on commit 1ed105e

Please sign in to comment.